fix: wrong default value of night mode
This commit is contained in:
parent
c05a6e49c3
commit
6ce4a254e4
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@
|
||||||
handleThemeToggle(event.target.checked);
|
handleThemeToggle(event.target.checked);
|
||||||
});
|
});
|
||||||
|
|
||||||
var nightModeOption = '{{ night_mode }}';
|
var nightModeOption = '{{ night_mode }}' || 'auto';
|
||||||
nightModeOption = nightModeOption.toLowerCase();
|
nightModeOption = nightModeOption.toLowerCase();
|
||||||
|
|
||||||
if (nightModeOption == 'auto') {
|
if (nightModeOption == 'auto') {
|
||||||
|
|
Loading…
Reference in a new issue