Commit 6457ef2f authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

fix typo in color scheme preference query

parent 134a9620
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@
};
var currentTheme = localStorage.getItem('theme');
if (!otherTheme.hasOwnProperty(currentTheme)) {
    currentTheme = window.matchMedia('(prefers-color-scheme: dark').matches ? 'dark.min' : 'light.min';
    currentTheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark.min' : 'light.min';
}
addStyleSheet(currentTheme, 'theme');