### 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/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to