Move "Browse Map Data" to layers control

Fixes https://trac.openstreetmap.org/ticket/4680
This commit is contained in:
John Firebaugh 2012-11-29 07:30:38 -08:00 committed by Tom Hughes
parent fde2744f74
commit 05eba79008
6 changed files with 49 additions and 39 deletions

View file

@ -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();
});
});