[openstreetmap/openstreetmap-website] Make handler able to handle SVG links (PR #6260)
Marwin Hochfelsner
notifications at github.com
Sun Jul 27 14:09:21 UTC 2025
SVG anchors don't have the URL properties, which forces a page reload. This can be avoided by getting the properties from the href.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6260
-- Commit Summary --
* Make handler able to handle SVG links
-- File Changes --
M app/assets/javascripts/index.js (7)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6260.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6260.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6260
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6260 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250727/04ad660c/attachment.htm>
More information about the rails-dev
mailing list