Commit 2a209118 by Etienne Freiss

correction pour lint

parent a46d596a
Pipeline #1467 passed with stage
in 1 minute 27 seconds
...@@ -18,16 +18,16 @@ function init_faq() { ...@@ -18,16 +18,16 @@ function init_faq() {
$("#helper_unsubscribe_form_link_btn").prop("href", helper_unsubscribe_form_link); $("#helper_unsubscribe_form_link_btn").prop("href", helper_unsubscribe_form_link);
$("#request_form_link_btn2").prop("href", request_form_link); $("#request_form_link_btn2").prop("href", request_form_link);
$("#request_form_link_btn").prop("href", request_form_link); $("#request_form_link_btn").prop("href", request_form_link);
} }
$(document).on('click', '.accordion', function(){ $(document).on('click', '.accordion', function() {
/* Toggle between adding and removing the "active" class, /* Toggle between adding and removing the "active" class,
to highlight the button that controls the panel */ to highlight the button that controls the panel */
this.classList.toggle("active"); this.classList.toggle("active");
/* Toggle between hiding and showing the active panel */ /* Toggle between hiding and showing the active panel */
var panel = this.nextElementSibling; var panel = this.nextElementSibling;
if (panel.style.display === "block") { if (panel.style.display === "block") {
panel.style.display = "none"; panel.style.display = "none";
} else { } else {
......
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