Share button unusable on a cell phone
This commit is contained in:
parent
f9db802c7b
commit
c66851f474
4 changed files with 40 additions and 2 deletions
|
@ -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") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue