X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3cf3d888b28ae8d9c2697a9b1083f3d5997e3947..237d2ad60dd6b6778603ad274e2f6a168aada259:/app/assets/javascripts/index.js?ds=inline diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 21d5366f3..616402811 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -73,7 +73,7 @@ $(document).ready(function () { var extents = unproj(map.getExtent()); var expiry = new Date(); - updatelinks(lonlat.lon, lonlat.lat, zoom, layers, extents.left, extents.bottom, extents.right, extents.top, params.object.type, params.object.id); + updatelinks(lonlat.lon, lonlat.lat, zoom, layers, extents.left, extents.bottom, extents.right, extents.top, params.object); expiry.setYear(expiry.getFullYear() + 10); $.cookie("_osm_location", [lonlat.lon, lonlat.lat, zoom, layers].join("|"), {expires: expiry});