]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/browse.js
Simplify further by using OSM.home
[rails.git] / app / assets / javascripts / browse.js
index e98aa2ed682f2b5aa6b97f783618bffa5f8a4b68..9858db091a65c769c7b0cd0994ecf542d3b3d3fb 100644 (file)
@@ -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();
       }