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