a
This commit is contained in:
parent
e4c28b62c1
commit
33262e8937
|
|
@ -726,7 +726,8 @@
|
|||
showStep('step-result');
|
||||
|
||||
// Redirection automatique après 5 secondes
|
||||
startCountdown(5, () => {
|
||||
// startCountdown(5, () => {
|
||||
startCountdown(3, () => {
|
||||
// window.location.href = data.redirect_url || 'dashboard.php';
|
||||
// On recharge la page
|
||||
location.reload();
|
||||
|
|
@ -760,7 +761,7 @@
|
|||
countdownEl.textContent = `Redirection dans ${remaining} secondes...`;
|
||||
remaining--;
|
||||
|
||||
if (remaining < 0) {
|
||||
if (remaining <= 0) {
|
||||
clearInterval(interval);
|
||||
callback();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user