mirror of
https://github.com/gnu4cn/rust-lang-zh_CN.git
synced 2026-08-19 04:33:27 +08:00
Updated.
This commit is contained in:
@@ -51,7 +51,7 @@ window.addEventListener("scroll", updateFunction);
|
|||||||
if(document.querySelector("#document-not-found404")) {
|
if(document.querySelector("#document-not-found404")) {
|
||||||
let timeLeft = 10;
|
let timeLeft = 10;
|
||||||
|
|
||||||
setInterval(var timerId = function() {
|
var timerId = setInterval(() => {
|
||||||
if(timeLeft == -1) {
|
if(timeLeft == -1) {
|
||||||
clearTimeout(timerId);
|
clearTimeout(timerId);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user