]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Merge pull request #3935 from Hufkratzer/rename-horse-riding-label
[rails.git] / app / assets / javascripts / index.js
index 49266f919f374770f0b7463020c0dae762e4e424..38c4981696f5d37aacc066769169cd136c61a179 100644 (file)
@@ -406,4 +406,8 @@ $(document).ready(function () {
       e.preventDefault();
     }
   });
+
+  $(document).on("click", "#sidebar_content .btn-close", function () {
+    OSM.router.route("/" + OSM.formatHash(map));
+  });
 });