X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e4ef507c5c56ab1f700a04c099f6938a143f836f..dd1ec4eb9bd23c2e7d93451b41f3eda99ffb9f08:/app/assets/javascripts/browse.js diff --git a/app/assets/javascripts/browse.js b/app/assets/javascripts/browse.js index e98aa2ed6..9858db091 100644 --- a/app/assets/javascripts/browse.js +++ b/app/assets/javascripts/browse.js @@ -71,7 +71,7 @@ $(document).ready(function () { $("#object_larger_map").show(); $("#object_edit").show(); - updatelinks(centre.lon, centre.lat, 16, null, extent.left, extent.bottom, extent.right, extent.top, params.type, params.id); + updatelinks(centre.lon, centre.lat, 16, null, extent.left, extent.bottom, extent.right, extent.top, object); } else { $("#small_map").hide(); }