X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ec91b3a39fc28442f367be1dda6cb9dc37172cbb..51d778097f031631a38236e7ab9a37f75a4580dc:/app/assets/javascripts/index/search.js diff --git a/app/assets/javascripts/index/search.js b/app/assets/javascripts/index/search.js index 6590e83b4..d41fc7d53 100644 --- a/app/assets/javascripts/index/search.js +++ b/app/assets/javascripts/index/search.js @@ -83,8 +83,6 @@ OSM.Search = function (map) { } markers.addLayer(marker); - - $(this).closest("li").addClass("selected"); } function hideSearchResult() { @@ -93,8 +91,6 @@ OSM.Search = function (map) { if (marker) { markers.removeLayer(marker); } - - $(this).closest("li").removeClass("selected"); } function panToSearchResult(data) {