The MutationObserver thought came from my tinkering with the site locally
wanting to reduce the reloads, forgetting that a toggle if added would already
have onchange events.
> So maybe you don't want one global watcher.
Yeah, I kinda missed that... Still, having a similar style on such similar
functions and having them moved to some unified location would be a nice thing
to have, currently, they could be much more different. But that's more of a
refactor thing if both are merged.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5402#issuecomment-2565595035
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/5402/c2565595...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev