]> git.openstreetmap.org Git - rails.git/blob - app/assets/javascripts/sidebar.js
Don't disable History button
[rails.git] / app / assets / javascripts / sidebar.js
1 function closeSidebar() {
2   $("#sidebar")
3     .trigger("closed");
4 }
5
6 $(document).ready(function () {
7   $(".sidebar_close").click(function (e) {
8     closeSidebar();
9     e.preventDefault();
10   });
11 });