X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/19a014bde6c8eb0c1b394fae8cf302487e7717b0..26f6fdf82c93b0fd3198bb8929d5f20a4723bfe8:/app/assets/javascripts/leaflet.sidebar.js diff --git a/app/assets/javascripts/leaflet.sidebar.js b/app/assets/javascripts/leaflet.sidebar.js index 7e72278e3..9573c839d 100644 --- a/app/assets/javascripts/leaflet.sidebar.js +++ b/app/assets/javascripts/leaflet.sidebar.js @@ -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") {