]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.share.js
Merge pull request #3552 from rugk/patch-1
[rails.git] / app / assets / javascripts / leaflet.share.js
index db983939016de802ee8cbf61d21e42ed9281eb52..1817e71ccd03d2b759618cf3dd576e3f08cf69d3 100644 (file)
@@ -25,9 +25,8 @@ L.OSM.share = 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>")