X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5bd59e19368d8761a7dbaa5db0e8833174c11f36..5fdada204cf92d8ca99300927713724aaaf1b2bd:/app/assets/javascripts/id.js?ds=sidebyside diff --git a/app/assets/javascripts/id.js b/app/assets/javascripts/id.js index 0aae749f7..ba16d9df2 100644 --- a/app/assets/javascripts/id.js +++ b/app/assets/javascripts/id.js @@ -27,8 +27,8 @@ document.addEventListener("DOMContentLoaded", function () { id.map().on("move.embed", parent.$.throttle(250, function () { if (id.inIntro()) return; var zoom = ~~id.map().zoom(), - center = id.map().center(), - llz = { lon: center[0], lat: center[1], zoom: zoom }; + center = id.map().center(), + llz = { lon: center[0], lat: center[1], zoom: zoom }; parent.updateLinks(llz, zoom);