From 0e527fad74a71a53afce3953c139f3f187588909 Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Mon, 6 Jun 2022 17:48:52 +0200 Subject: [PATCH] Update the comments --- .../static/djangocms_admin_style/js/modules/dark-mode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangocms_admin_style/static/djangocms_admin_style/js/modules/dark-mode.js b/djangocms_admin_style/static/djangocms_admin_style/js/modules/dark-mode.js index 845dced8..b0b75896 100644 --- a/djangocms_admin_style/static/djangocms_admin_style/js/modules/dark-mode.js +++ b/djangocms_admin_style/static/djangocms_admin_style/js/modules/dark-mode.js @@ -17,7 +17,7 @@ function darkModeSettings() { // Use color_scheme from settings.py colorScheme = cms_window.CMS.settings.color_scheme; } else if (cms_window.CMS.config.color_scheme) { - // If overwritten by settings use settings + // If overwritten by config use config. This is the toggle button colorScheme = cms_window.CMS.config.color_scheme; } }