From 33262e89375b9cb72b38053907e3a91595bef945 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Tue, 24 Feb 2026 05:47:47 +0000 Subject: [PATCH] a --- Contestation/Demandereconnaissancefaciale.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Contestation/Demandereconnaissancefaciale.php b/Contestation/Demandereconnaissancefaciale.php index 859a07b..5aa722c 100755 --- a/Contestation/Demandereconnaissancefaciale.php +++ b/Contestation/Demandereconnaissancefaciale.php @@ -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(); }