a
This commit is contained in:
parent
28ee85b0c4
commit
8a8529aa4d
|
|
@ -945,23 +945,6 @@
|
|||
stopCamera();
|
||||
};
|
||||
|
||||
/*
|
||||
function startCountdown(seconds, callback) {
|
||||
let remaining = seconds;
|
||||
const countdownEl = document.getElementById('countdown');
|
||||
|
||||
const interval = setInterval(() => {
|
||||
countdownEl.textContent = `Redirection dans ${remaining} secondes...`;
|
||||
remaining--;
|
||||
|
||||
if (remaining < 0) {
|
||||
clearInterval(interval);
|
||||
callback();
|
||||
}
|
||||
}, 1000);
|
||||
}
|
||||
*/
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue
Block a user