Move "Browse Map Data" to layers control
Fixes https://trac.openstreetmap.org/ticket/4680
This commit is contained in:
parent
fde2744f74
commit
05eba79008
6 changed files with 49 additions and 39 deletions
|
@ -13,12 +13,15 @@ function openSidebar(options) {
|
|||
$("#sidebar").trigger("opened");
|
||||
};
|
||||
|
||||
function closeSidebar() {
|
||||
$("#sidebar").css("display", "none");
|
||||
|
||||
$("#sidebar").trigger("closed");
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
$(".sidebar_close").click(function (e) {
|
||||
$("#sidebar").css("display", "none");
|
||||
|
||||
$("#sidebar").trigger("closed");
|
||||
|
||||
closeSidebar();
|
||||
e.preventDefault();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue