X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/09c5740b5bb94c75a5c8c83cdbb80ae7b5ccbdf4..be4c4d186b8cc4a0f5d1acb57c9d04b23cf1583e:/app/views/site/edit.html.erb diff --git a/app/views/site/edit.html.erb b/app/views/site/edit.html.erb index b29c0f200..3565b0468 100644 --- a/app/views/site/edit.html.erb +++ b/app/views/site/edit.html.erb @@ -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() {