]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/id.js
Merge pull request #2485 from mmd-osm/patch/json2
[rails.git] / app / assets / javascripts / id.js
index 0aae749f7d2fbece85bb2713d853d8aab5ec04dc..ba16d9df2451a394d79bb5f726b0fc4d7d22b71b 100644 (file)
@@ -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);