]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Fix export location filter button
[rails.git] / app / assets / javascripts / index.js
index 77b247c10fb0c1b294a9118749b5068662a87c5d..e9e95abfef40e81eb7f3ae0be17fdc97a2735aeb 100644 (file)
@@ -292,7 +292,7 @@ $(document).ready(function () {
   });
 
   $(document).on("click", "a", function(e) {
-    if (e.isPropagationStopped()) return;
+    if (e.isDefaultPrevented() || e.isPropagationStopped()) return;
     if (this.host === window.location.host && OSM.route(this.pathname + this.search + this.hash)) e.preventDefault();
   });