X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2b4f8e92c969a5508b73ae7af45811a118fda6b1..640ff57465b5288a183e1343285c1550b1a0d1a8:/app/assets/javascripts/index/search.js?ds=inline diff --git a/app/assets/javascripts/index/search.js b/app/assets/javascripts/index/search.js index 6efba746e..c1c95a3e4 100644 --- a/app/assets/javascripts/index/search.js +++ b/app/assets/javascripts/index/search.js @@ -29,11 +29,6 @@ OSM.Search = function(map) { var data = $(this).data(), center = L.latLng(data.lat, data.lon); - if (data.type && data.id) return; // Browse link - - e.preventDefault(); - e.stopPropagation(); - if (data.minLon && data.minLat && data.maxLon && data.maxLat) { map.fitBounds([[data.minLat, data.minLon], [data.maxLat, data.maxLon]]);