X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2fcee9625dcd192d0c524f27d9cb182c883e31b4..63aaf045ac868675155c76468c9286eaaa3acd83:/app/assets/javascripts/index/query.js
diff --git a/app/assets/javascripts/index/query.js b/app/assets/javascripts/index/query.js
index 59c3a8b49..08da06d4c 100644
--- a/app/assets/javascripts/index/query.js
+++ b/app/assets/javascripts/index/query.js
@@ -216,7 +216,7 @@ OSM.Query = function (map) {
if (interestingFeature(element)) {
var $li = $("
")
- .addClass("query-result list-group-item")
+ .addClass("query-result list-group-item list-group-item-action")
.data("geometry", featureGeometry(element))
.text(featurePrefix(element) + " ")
.appendTo($ul);
@@ -230,14 +230,14 @@ OSM.Query = function (map) {
if (results.remark) {
$("")
- .addClass("query-result list-group-item")
+ .addClass("list-group-item")
.text(I18n.t("javascripts.query.error", { server: url, error: results.remark }))
.appendTo($ul);
}
if ($ul.find("li").length === 0) {
$("")
- .addClass("query-result list-group-item")
+ .addClass("list-group-item")
.text(I18n.t("javascripts.query.nothing_found"))
.appendTo($ul);
}
@@ -246,7 +246,7 @@ OSM.Query = function (map) {
$section.find(".loader").hide();
$("")
- .addClass("query-result list-group-item")
+ .addClass("list-group-item")
.text(I18n.t("javascripts.query." + status, { server: url, error: error }))
.appendTo($ul);
}