]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.key.js
Merge remote-tracking branch 'upstream/pull/3644'
[rails.git] / app / assets / javascripts / leaflet.key.js
index e170ff35227d49b478d6674c87f73dea4c421b50..367c39c1462067ab74ed7fdad466b0814a5b75fa 100644 (file)
@@ -19,9 +19,8 @@ L.OSM.key = function (options) {
       .attr("class", "sidebar_heading")
       .appendTo($ui)
       .append(
-        $("<span>")
-          .text(I18n.t("javascripts.close"))
-          .attr("class", "icon close")
+        $("<button type='button' class='btn-close float-end mt-1'>")
+          .attr("aria-label", I18n.t("javascripts.close"))
           .bind("click", toggle))
       .append(
         $("<h4>")