Changed close buttons of banner and other leaflet sidebars to Bootstrap

This commit is contained in:
Anton Khorev 2022-07-27 20:00:22 +03:00
parent 5ed2bfc950
commit 0322ed4295
5 changed files with 6 additions and 25 deletions

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