[openstreetmap/openstreetmap-website] Preserve hash for map element navigation (PR #7220)

Marwin Hochfelsner notifications at github.com
Thu Jul 9 09:58:54 UTC 2026


### Description
At least since we retired `jquery-simulate`, clicks on map elements forget the map state. #6281 delegated the clicking back to the browser, but without forwarding this information too. This patch adds this info and resolves #6755. I don't think it does for #7184 tho.
### How has this been tested?
little devTools override
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/7220

-- Commit Summary --

  * Preserve hash for map element navigation

-- File Changes --

    M app/assets/javascripts/router.js (1)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/7220.patch
https://github.com/openstreetmap/openstreetmap-website/pull/7220.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7220
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/7220 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260709/f91365bf/attachment-0001.htm>


More information about the rails-dev mailing list