]> git.openstreetmap.org Git - rails.git/blob - app/assets/javascripts/sidebar.js
Don't autofocus search, fade out "Where am I?" on focus
[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 });