correction petite inexactitude

FossilOrigin-Name: 748e03b75b685ff8bb0140b088b598e45c75a6b0875c7d882b0a9b84fc3cb488
This commit is contained in:
engel 2023-01-31 08:46:51 +00:00
parent dc77dc985b
commit f5130172f0

View File

@ -144,7 +144,7 @@ function montrerMasquerDetails(idElem, classe, texte)
if (lesDetails.length > 0) if (lesDetails.length > 0)
{ {
let leBouton = document.getElementById(idElem); let leBouton = document.getElementById(idElem);
if (leBouton.textContent.startsWith('Replier')) if (leBouton.textContent.includes('Replier'))
{ {
// masquer // masquer
lesDetails.forEach((e) => { lesDetails.forEach((e) => {