]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Start to refactor updatelinks
[rails.git] / app / assets / javascripts / index.js
index ba2aa26444ab8cc065537d124bd76fb8a4b44e4e..e4dbb84d02b141d0ff15eee918f040b96c09a292 100644 (file)
@@ -114,8 +114,7 @@ $(document).ready(function () {
     var layers = getMapLayers();
     var extents = map.getBounds().wrap();
 
-    updatelinks(center.lng,
-                center.lat,
+    updatelinks(center,
                 zoom,
                 layers,
                 extents.getWest(),