From f9495db544d5dabef20e0aa8a8ddf60888ee850c Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Wed, 31 Dec 2025 14:03:04 +0000 Subject: [PATCH] Var --- Vue/Accueil/index.php | 49 +++++++++++++++++++++++++++---------------- 1 file changed, 31 insertions(+), 18 deletions(-) diff --git a/Vue/Accueil/index.php b/Vue/Accueil/index.php index 58069a8..6ae68b0 100644 --- a/Vue/Accueil/index.php +++ b/Vue/Accueil/index.php @@ -67,20 +67,28 @@
-
+
-

- - - +

+

-
+
@@ -88,18 +96,25 @@
-

- - - - +

+

-
+
@@ -131,10 +146,9 @@ if (fnName && typeof window[fnName] === 'function') { window[fnName](); } - // Changer l’icône en chevron-up - const header = document.querySelector('[data-bs-target="#' + this.id + '"] .accordion-icon'); - if (header) header.classList.replace('bi-chevron-down', 'bi-chevron-up'); + const headerBtn = document.querySelector('[data-bs-target="#' + this.id + '"] .accordion-icon'); + if (headerBtn) headerBtn.classList.replace('bi-chevron-down', 'bi-chevron-up'); }); // Quand une section se ferme @@ -143,10 +157,9 @@ if (fnName && typeof window[fnName] === 'function') { window[fnName](); } - // Remettre l’icône en chevron-down - const header = document.querySelector('[data-bs-target="#' + this.id + '"] .accordion-icon'); - if (header) header.classList.replace('bi-chevron-up', 'bi-chevron-down'); + const headerBtn = document.querySelector('[data-bs-target="#' + this.id + '"] .accordion-icon'); + if (headerBtn) headerBtn.classList.replace('bi-chevron-up', 'bi-chevron-down'); }); }); });