Share button unusable on a cell phone

This commit is contained in:
nertc 2024-07-04 16:17:56 +04:00
parent f9db802c7b
commit c66851f474
4 changed files with 40 additions and 2 deletions

View file

@ -31,9 +31,11 @@ L.OSM.sidebar = function (selector) {
map.panBy([-paneWidth, 0], { animate: false });
}
$(sidebar).hide();
$("#content").addClass("overlay-right-sidebar");
current = currentButton = $();
} else {
$(sidebar).show();
$("#content").removeClass("overlay-right-sidebar");
current = pane;
currentButton = button || $();
if ($("html").attr("dir") === "rtl") {