]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Allow moderator to unhide diary entries as well as hide them
[rails.git] / app / assets / javascripts / index.js
index 49266f919f374770f0b7463020c0dae762e4e424..38c4981696f5d37aacc066769169cd136c61a179 100644 (file)
@@ -406,4 +406,8 @@ $(document).ready(function () {
       e.preventDefault();
     }
   });
       e.preventDefault();
     }
   });
+
+  $(document).on("click", "#sidebar_content .btn-close", function () {
+    OSM.router.route("/" + OSM.formatHash(map));
+  });
 });
 });