diff options
author | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2020-04-11 10:56:08 +0300 |
---|---|---|
committer | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2020-04-11 10:56:08 +0300 |
commit | 75049e8875c20f8fb0671ab2280ed24eb76854f5 (patch) | |
tree | b86a7cfdcc0af13f9fd634bc4f3b48bff8f473a4 /static | |
parent | 0f48914cdd100bcd05de2538b4b4d38027a1815b (diff) |
Complete dark mode.
Diffstat (limited to 'static')
-rw-r--r-- | static/js/journal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/journal.js b/static/js/journal.js index 2d7a8c9..153fe2e 100644 --- a/static/js/journal.js +++ b/static/js/journal.js @@ -75,7 +75,7 @@ app = new Vue({ var night = document.cookie.replace(/(?:(?:^|.*;\s*)night\s*\=\s*([^;]*).*$)|^.*$/, "$1"); if (night==""){ if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) { - this.toggleDarkMode(); + //this.toggleDarkMode(); } }else{ // If night is not empty |