From 371ca97b4bc202dc8026d4fb8f64790cffb92e07 Mon Sep 17 00:00:00 2001 From: npy11 Date: Fri, 4 Oct 2024 13:30:12 +0530 Subject: [PATCH] faq settimeout milliseconds removed --- blocks/accordion-group/accordion-group.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/accordion-group/accordion-group.js b/blocks/accordion-group/accordion-group.js index 1661d4ced3..412f2a1fa8 100644 --- a/blocks/accordion-group/accordion-group.js +++ b/blocks/accordion-group/accordion-group.js @@ -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) {