From f5130172f022d18c767a9522e0eda585a09ecfa4 Mon Sep 17 00:00:00 2001 From: engel <> Date: Tue, 31 Jan 2023 08:46:51 +0000 Subject: [PATCH] correction petite inexactitude FossilOrigin-Name: 748e03b75b685ff8bb0140b088b598e45c75a6b0875c7d882b0a9b84fc3cb488 --- www/admin/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {