summaryrefslogtreecommitdiffstats
path: root/assets/js
diff options
context:
space:
mode:
authorEltrac <45323514+BigCoke233@users.noreply.github.com>2019-07-15 17:45:29 +0800
committerGitHub <noreply@github.com>2019-07-15 17:45:29 +0800
commit3941316b8e3a2d828d75519f3cd0e5e4e50fd1ca (patch)
tree923301304cd8f9a2fa046347f5ec1b94163605ec /assets/js
parent7f1c377f186e4a787df9ae6dcf0e143755d3629f (diff)
Bug fix
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/main.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/assets/js/main.js b/assets/js/main.js
index fb232a4..4cc371b 100644
--- a/assets/js/main.js
+++ b/assets/js/main.js
@@ -2,10 +2,6 @@
function Dark() {
$("body").toggleClass("body-dark");
}
-var h = myDate.getHours();
-if !(h > 6 && h < 19 && hasClass('body-dark')) {
- Dark();
-}
//GoTop
function GoTop() {
$('body,html').animate({scrollTop:0},500);