Added 0 to countdown
This commit is contained in:
parent
5a0a567348
commit
187dcf81ca
|
@ -19,6 +19,7 @@ function autoReload() {
|
|||
var timeleft = 3;
|
||||
var reloadTimer = setInterval(function () {
|
||||
if (timeleft <= 0) {
|
||||
document.getElementById("next").innerHTML = 0;
|
||||
clearInterval(reloadTimer);
|
||||
window.location.replace('/')
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue