Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
还原
Browse files Browse the repository at this point in the history
  • Loading branch information
1zyao committed Nov 26, 2022
1 parent 2f88535 commit 3b88509
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ function setSiteTime() {
" 天 " + diffHours + " 小时 " + diffMinutes + " 分钟 " + diffSeconds + " 秒 ";
}
}

document.getElementsByClassName("server_online_map").href = window.conf.server_online_map;
document.getElementsByClassName("download_link").href = window.conf.download_url;
// TODO: LazyLoad 4
setTimeout(setInterval(setSiteTime, 1000), 5000);
setTimeout(() => {
document.getElementsByClassName("download_link").href = window.conf.download_url;
document.getElementsByClassName("server_online_map").href = window.conf.server_online_map;
}, 500)

0 comments on commit 3b88509

Please sign in to comment.