commit 6624b105a58b2e5bb09935a7a7bd42ddcc1914f9 parent 886e30cedb79ef50998c8132822c2a615432e633 Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Sun, 12 Oct 2025 16:10:59 +0200 fix: correctly check for dark theme preference Diffstat:
| M | assets/js/twitch.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/assets/js/twitch.js b/assets/js/twitch.js @@ -189,7 +189,7 @@ function tw2html_toggle_chat(stream) { window.location.hostname; // If dark mode is used, apply it to the chat as well - if (window.matchMedia('(prefers-color-scheme: dark)')) { + if (window.matchMedia('(prefers-color-scheme: dark)').matches) { chat.src = chat.src + "&darkpopout"; }