[openstreetmap/openstreetmap-website] Fix listener leak in the link update listener of MapLibre.AttributionControl (PR #7191)
Frank Elsinga
notifications at github.com
Sun Jun 28 08:37:39 UTC 2026
### Description
Splits out another change from my branch that I should have added to #7189 but overlooked
`OSM.MapLibre.AttributionControl` does not properly clean up after itsself because the functions are considered differnt due to `this` being a differnt object.
### How has this been tested?
Attribution attributes on the export page 😉
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/7191
-- Commit Summary --
* Fix moveend listener leak in MapLibre AttributionControl
-- File Changes --
M app/assets/javascripts/maplibre/attribution.js (5)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/7191.patch
https://github.com/openstreetmap/openstreetmap-website/pull/7191.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7191
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/7191 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260628/060a71c6/attachment.htm>
More information about the rails-dev
mailing list