X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c4f965489137029161a3897aa39f34e7168d7621..483854f411ce7106144883824adb7e49060424c2:/app/assets/javascripts/index.js diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index ba2aa2644..e4dbb84d0 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -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(),