[openstreetmap/openstreetmap-website] Remove zoomend listener on history unload (PR #5470)

Anton Khorev notifications at github.com
Sun Jan 5 12:11:25 UTC 2025


https://github.com/openstreetmap/openstreetmap-website/commit/6b194ed6278d4b05a04a20d6907203ed329bef77 added a map zoom listener to history pages because rendered changeset rectangles depend on the map scale. But the listener is never removed on unload.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Remove zoomend listener on history unload

-- File Changes --

    M app/assets/javascripts/index/history.js (1)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list