diff --git a/web/themes/custom/eql/scripts/main.js b/web/themes/custom/eql/scripts/main.js index 5a2f15a..01da13c 100644 --- a/web/themes/custom/eql/scripts/main.js +++ b/web/themes/custom/eql/scripts/main.js @@ -15,7 +15,7 @@ function toggleMenu(event) { // faq reponse open -var answer = document.getElementsByClassName("panel-body"); +var answers = document.getElementsByClassName("field--name-field-reponse"); var questions = document.getElementsByClassName("field--name-field-question"); for (let i = 0; i < questions.length; i++) {