diff --git a/www/admin/script.js b/www/admin/script.js index e1b03b0..c517d65 100644 --- a/www/admin/script.js +++ b/www/admin/script.js @@ -144,7 +144,7 @@ function montrerMasquerDetails(idElem, classe, texte) if (lesDetails.length > 0) { let leBouton = document.getElementById(idElem); - if (leBouton.textContent.startsWith('Replier')) + if (leBouton.textContent.includes('Replier')) { // masquer lesDetails.forEach((e) => {