]> git.openstreetmap.org Git - rails.git/commitdiff
Fix typo.
authorTom Hughes <tom@compton.nu>
Sun, 29 Jul 2007 16:25:13 +0000 (16:25 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 29 Jul 2007 16:25:13 +0000 (16:25 +0000)
app/views/site/index.rhtml

index 8e52166c875c9ab6b8c7a941ee6616be7b42f1de..1b1a85d5b49a2e54d5b2e9176ff216d454da7d30 100644 (file)
@@ -67,7 +67,7 @@
     zoom = scaleToZoom(<%= params['scale'].to_f() %>);
     <% end %>
 
-    map.setCentre(center, zoom);
+    map.setCentre(centre, zoom);
     <% end %>
 
     <% if marker %>