X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6db326aa1f084a062a3b658876bc01bf650f5702..4cf3c3b6ed7cc6ab0728b320afde5854489629fb:/app/assets/javascripts/id.js 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);