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:
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