diff options
| author | Eltrac <45323514+BigCoke233@users.noreply.github.com> | 2019-07-15 17:45:29 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-15 17:45:29 +0800 |
| commit | 3941316b8e3a2d828d75519f3cd0e5e4e50fd1ca (patch) | |
| tree | 923301304cd8f9a2fa046347f5ec1b94163605ec | |
| parent | 7f1c377f186e4a787df9ae6dcf0e143755d3629f (diff) | |
Bug fix
| -rw-r--r-- | assets/js/main.js | 4 |
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);
|
