]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/query.js
Remove action item class from non-action query results
[rails.git] / app / assets / javascripts / index / query.js
index 313bd1cc00618506e7e0e6e76143577f381f3d75..08da06d4c6270070da88dbe7051319ceb4b53d31 100644 (file)
@@ -230,14 +230,14 @@ OSM.Query = function (map) {
 
         if (results.remark) {
           $("<li>")
-            .addClass("query-result list-group-item list-group-item-action")
+            .addClass("list-group-item")
             .text(I18n.t("javascripts.query.error", { server: url, error: results.remark }))
             .appendTo($ul);
         }
 
         if ($ul.find("li").length === 0) {
           $("<li>")
-            .addClass("query-result list-group-item list-group-item-action")
+            .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();
 
         $("<li>")
-          .addClass("query-result list-group-item list-group-item-action")
+          .addClass("list-group-item")
           .text(I18n.t("javascripts.query." + status, { server: url, error: error }))
           .appendTo($ul);
       }