summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/extensions/theme-toggle.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/extensions/theme-toggle.html b/_includes/extensions/theme-toggle.html
index df04c29..623c425 100644
--- a/_includes/extensions/theme-toggle.html
+++ b/_includes/extensions/theme-toggle.html
@@ -81,7 +81,7 @@
handleThemeToggle(event.target.checked);
});
- var nightModeOption = '{{ night_mode }}';
+ var nightModeOption = '{{ night_mode }}' || 'auto';
nightModeOption = nightModeOption.toLowerCase();
if (nightModeOption == 'auto') {