From 20cd65babaa7a2adf548a8575e6c4d748bb04fd0 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Sun, 11 Oct 2020 16:32:35 +0800 Subject: fix: wrong option name of night mode --- _includes/extensions/theme-toggle.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_includes') diff --git a/_includes/extensions/theme-toggle.html b/_includes/extensions/theme-toggle.html index d426f65..df04c29 100644 --- a/_includes/extensions/theme-toggle.html +++ b/_includes/extensions/theme-toggle.html @@ -94,7 +94,7 @@ } else { handleThemeToggle(themeData.nightShift); } - } else if (nightModeOption == 'mannual') { + } else if (nightModeOption == 'manual') { handleThemeToggle(themeData.nightShift); } else { handleThemeToggle(nightModeOption == 'on'); -- cgit v1.2.3