Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authoramazingrise <8315221+AmazingRise@users.noreply.github.com>2020-04-11 10:56:08 +0300
committeramazingrise <8315221+AmazingRise@users.noreply.github.com>2020-04-11 10:56:08 +0300
commit75049e8875c20f8fb0671ab2280ed24eb76854f5 (patch)
treeb86a7cfdcc0af13f9fd634bc4f3b48bff8f473a4 /static
parent0f48914cdd100bcd05de2538b4b4d38027a1815b (diff)
Complete dark mode.
Diffstat (limited to 'static')
-rw-r--r--static/js/journal.js2
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