[openstreetmap/openstreetmap-website] Preserve hash for map element navigation (PR #7220)
Holger Jeromin
notifications at github.com
Thu Jul 9 13:25:47 UTC 2026
@HolgerJeromin commented on this pull request.
> @@ -204,6 +204,7 @@ OSM.Router = function (map, rts) {
const clickEvent = new (event.constructor)("click", eventOptions);
const link = document.createElement("a");
link.href = href;
+ link.hash = location.hash;
We do not loose information in this layer. But when we are confident that this information is valid to drop, fine.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7220#discussion_r3551925972
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/7220/review/4663349684 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260709/9079eb05/attachment.htm>
More information about the rails-dev
mailing list