1 L.OSM.sidebarPane = function (options) {
2 var control = L.control(options);
4 control.makeUI = function (uiClass, paneTitle, toggle) {
6 .attr("class", uiClass);
9 .attr("class", "sidebar_heading")
12 $("<button type='button' class='btn-close float-end mt-1'>")
13 .attr("aria-label", I18n.t("javascripts.close"))
14 .bind("click", toggle))
17 .text(I18n.t(paneTitle)));