]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.sidebar-pane.js
Merge remote-tracking branch 'upstream/pull/4132'
[rails.git] / app / assets / javascripts / leaflet.sidebar-pane.js
index ff6ee8d8b14ab896ab4b500c732b2ce00748d031..d8213a3767a948aee2c0a9cdadc5498cbf1d4208 100644 (file)
@@ -22,9 +22,8 @@ L.OSM.sidebarPane = function (options, uiClass, buttonTitle, paneTitle) {
 
     $("<div class='sidebar_heading d-flex'>")
       .appendTo($ui)
-      .append($("<div class='flex-grow-1 text-break'>")
-        .append($("<h4>")
-          .text(I18n.t(paneTitle))))
+      .append($("<h4 class='flex-grow-1 text-break'>")
+        .text(I18n.t(paneTitle)))
       .append($("<div>")
         .append($("<button type='button' class='btn-close'>")
           .attr("aria-label", I18n.t("javascripts.close"))