@HolgerJeromin I'd recommend `window.matchMedia("...").onchange = xy` due to 
the 
[depreciation](https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/addListener)
 of `matchMedia.addEventListener`. 

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

Message ID: 
<openstreetmap/openstreetmap-website/pull/5402/c2589895...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to