]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Consolidate search-related JavaScript
[rails.git] / app / assets / javascripts / index.js
index db858c7c16bcea52ef7063a108b8e5c75dc9a233..59335ff849e60d3d08e2c93d14f967558bd3b4e6 100644 (file)
@@ -283,6 +283,7 @@ $(document).ready(function () {
   });
 
   $(document).on("click", "a", function(e) {
+    if (e.isPropagationStopped()) return;
     if (router(this.pathname + this.search + this.hash)) e.preventDefault();
   });