Skip to content

Commit

Permalink
faq settimeout milliseconds removed
Browse files Browse the repository at this point in the history
  • Loading branch information
npy11 authored and npy11 committed Oct 4, 2024
1 parent e1906aa commit 371ca97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/accordion-group/accordion-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function openFunctionFAQ(block) {
if (this.classList.contains('active')) {
setTimeout(() => {
this.closest("details").removeAttribute("open");
}, 1000);
});
this.classList.remove("active");
} else {
titles.forEach(function (title) {
Expand Down

0 comments on commit 371ca97

Please sign in to comment.