]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/edit.html.erb
Silly YAML and its subtly different parsers. This worked in Syck/LibYAML in Perl...
[rails.git] / app / views / site / edit.html.erb
index b29c0f200e84032f4b0464f98a29a1a436f00c9f..3565b046816d41658434471f34efdedfd113d7e9 100644 (file)
@@ -88,7 +88,7 @@ zoom='14' if zoom.nil?
   doSWF(<%= lat || 'null' %>,<%= lon || 'null' %>,<%= zoom %>);
 
   function setPosition(lat, lon, zoom) {
-    doSWF(lat, lon, zoom);
+    doSWF(lat, lon, zoom || 15);
   }
 
   function resizeContent() {