X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1b21b8a209fc7230c82dce4a468b3258ebed0e92..c38a50fc5f43a185dda39fd1aa235a2bda8ad83b:/app/assets/javascripts/edit/potlatch2.js.erb diff --git a/app/assets/javascripts/edit/potlatch2.js.erb b/app/assets/javascripts/edit/potlatch2.js.erb index 9ef006079..d5c6ecd7d 100644 --- a/app/assets/javascripts/edit/potlatch2.js.erb +++ b/app/assets/javascripts/edit/potlatch2.js.erb @@ -34,13 +34,13 @@ $(document).ready(function () { if (potlatch.data("lat") && potlatch.data("lon")) { flashvars.lat = potlatch.data("lat"); flashvars.lon = potlatch.data("lon"); - flashvars.scale = potlatch.data("zoom"); + flashvars.zoom = potlatch.data("zoom"); } else { var mapParams = OSM.mapParams(); flashvars.lat = mapParams.lat; flashvars.lon = mapParams.lon; - flashvars.scale = mapParams.zoom || 17; + flashvars.zoom = mapParams.zoom || 17; } if (potlatch.data("token")) {