a
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user