X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/44629832dd0207d7b0f50b93f1d00b4373dd4d49..640ff57465b5288a183e1343285c1550b1a0d1a8:/app/assets/javascripts/index/search.js 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]]);