This commit is contained in:
KANE LAZENI 2026-02-24 05:47:47 +00:00
parent e4c28b62c1
commit 33262e8937

View File

@ -726,7 +726,8 @@
showStep('step-result'); showStep('step-result');
// Redirection automatique après 5 secondes // Redirection automatique après 5 secondes
startCountdown(5, () => { // startCountdown(5, () => {
startCountdown(3, () => {
// window.location.href = data.redirect_url || 'dashboard.php'; // window.location.href = data.redirect_url || 'dashboard.php';
// On recharge la page // On recharge la page
location.reload(); location.reload();
@ -760,7 +761,7 @@
countdownEl.textContent = `Redirection dans ${remaining} secondes...`; countdownEl.textContent = `Redirection dans ${remaining} secondes...`;
remaining--; remaining--;
if (remaining < 0) { if (remaining <= 0) {
clearInterval(interval); clearInterval(interval);
callback(); callback();
} }