Remove unnecessary wrapper divs
This commit is contained in:
parent
cb143bb5f1
commit
58f0eea2a4
4 changed files with 12 additions and 18 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue