Remove unnecessary wrapper divs

This commit is contained in:
Anton Khorev 2022-09-20 10:15:19 +03:00
parent cb143bb5f1
commit 58f0eea2a4
4 changed files with 12 additions and 18 deletions

View 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"))