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