From f3f928018fd11b6cc004ea01b5ac0fbe71a0c936 Mon Sep 17 00:00:00 2001 From: donfiguerres Date: Fri, 10 Jun 2022 13:43:08 +0800 Subject: [PATCH] Renamed function. --- static/js/darkmode-darkreader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/darkmode-darkreader.js b/static/js/darkmode-darkreader.js index a341c3e..036a1a7 100644 --- a/static/js/darkmode-darkreader.js +++ b/static/js/darkmode-darkreader.js @@ -25,7 +25,7 @@ function useSystemTheme() { }); } -function initializeColorScheme() { +function initializeColorTheme() { // We're using the themeInitialization attributes as a 'hack' for setting up // the default color scheme because we don't want to complicate this further // by creating custom javascript output in Hugo. @@ -50,4 +50,4 @@ function initializeColorScheme() { enableLightTheme(); } } -initializeColorScheme() +initializeColorTheme()