> You don't need to change the theme of the page
I did that for testing, but since listening increased the complexity
unnecessarily, I left that for a second pass.
But suppose the site needs a theme watcher anyway because the cal-heatmap
doesn't want to let CSS do the color mixing theme-agnostically. In that case,
instead of having two listeners, a common solution that includes
MutationObservers outside of jQuery would be the one with the least overhead.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5402#issuecomment-2565312382
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/5402/c2565312...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev