mmd-osm left a comment (openstreetmap/openstreetmap-website#6265)
I believe the click is triggered by this "a" link handler in index.js. Once I
do a preventDefault / stopPropagation on the event, I'm no longer redirected to
the changeset page.
```
$(document).on("click", "a", function (e) {
if (e.isDefaultPrevented() || e.isPropagationStopped() ||
$(e.target).data("turbo")) {
return;
}
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6265#issuecomment-3129581338
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6265/c3129581...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev