From 6bd15ded9cf7ec81507ee3da60e0b42f2b7c7c43 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Sun, 13 Nov 2022 20:43:51 -0600 Subject: [PATCH] Try moving darkmode up --- resources/common.js | 6 +----- templates/base.html | 5 +++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/resources/common.js b/resources/common.js index 0b0fb74..ca30d2b 100644 --- a/resources/common.js +++ b/resources/common.js @@ -421,8 +421,4 @@ $(function() { DarkReader.enable(); } }) -}); - -if (localStorage.getItem("darkmode") === "true") { - DarkReader.enable(); -} +}); \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 991b3f9..b771565 100644 --- a/templates/base.html +++ b/templates/base.html @@ -74,6 +74,11 @@ + {% compress js %} {% if INLINE_JQUERY %}