Commit b7e00ca9 by Yvon Kerdoncuff

fix double firing accordion event : delete accordion event now duplicated in…

fix double firing accordion event : delete accordion event now duplicated in module_config.js (after v12 port), keep the new one in all_common.js
parent c5bb60b6
Pipeline #3898 failed with stage
......@@ -150,17 +150,4 @@ function get_module_settings() {
}
get_module_settings();
$(document).on('click', '.accordion', function(){
/* Toggle between adding and removing the "active" class,
to highlight the button that controls the panel */
this.classList.toggle("active");
/* Toggle between hiding and showing the active panel */
var panel = this.nextElementSibling;
if (panel.style.display === "block") {
panel.style.display = "none";
} else {
panel.style.display = "block";
}
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment