summaryrefslogtreecommitdiff
path: root/layout
diff options
context:
space:
mode:
authorDoge <[email protected]>2021-05-09 15:28:52 +0800
committerDoge <[email protected]>2021-05-09 15:28:52 +0800
commit582b8b355dc87bdbaa729442882461f2975f8d27 (patch)
treec9580f478decec1f9592a87b775bfafc05ee3778 /layout
parent832ebd0038ccecbd6bbd5baa337c8d59e19542f7 (diff)
downloadchromate-582b8b355dc87bdbaa729442882461f2975f8d27.tar.gz
chromate-582b8b355dc87bdbaa729442882461f2975f8d27.tar.bz2
chromate-582b8b355dc87bdbaa729442882461f2975f8d27.zip
Fix darkmode bug
Diffstat (limited to 'layout')
-rw-r--r--layout/_partial/scripts.ejs1
1 files changed, 0 insertions, 1 deletions
diff --git a/layout/_partial/scripts.ejs b/layout/_partial/scripts.ejs
index 2e9be0f..ab83cf5 100644
--- a/layout/_partial/scripts.ejs
+++ b/layout/_partial/scripts.ejs
@@ -29,7 +29,6 @@
document.getElementById("highlight-light-theme").removeAttribute("disabled");
}
};
- theme_selector(darklistener.mode());
darklistener.add(theme_selector);
hljs.initHighlightingOnLoad();
}, false);