Removed timeout before redirect
This commit is contained in:
parent
08ffea0fb7
commit
4324fdf01f
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@
|
||||||
} else {
|
} else {
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
window.location.href = "me.mp4";
|
window.location.href = "me.mp4";
|
||||||
}, 5000); // Redirect after 5 seconds
|
}, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
document.addEventListener("DOMContentLoaded", loadVideo);
|
document.addEventListener("DOMContentLoaded", loadVideo);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue