Removed timeout before redirect

This commit is contained in:
Simon Einzinger 2024-12-24 10:00:38 +01:00
parent 08ffea0fb7
commit 4324fdf01f

View file

@ -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);