X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/51d2a846ece990db7c4109ecf923ad9201c6f8e6..5f2a5cadcb693b34b81a9232b8879c3b4f12843d:/app/assets/javascripts/index.js diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 5c7b2d26e..4f3c414f5 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -396,7 +396,7 @@ $(document).ready(function () { OSM.router.load(); $(document).on("click", "a", function (e) { - if (e.isDefaultPrevented() || e.isPropagationStopped()) { + if (e.isDefaultPrevented() || e.isPropagationStopped() || $(e.target).data("turbo")) { return; }