From b14b2343091a0f318e25644af34e7565f7a59ff0 Mon Sep 17 00:00:00 2001 From: Pardeep Gera Date: Thu, 23 Nov 2023 19:34:48 +0530 Subject: [PATCH] removed href --- blocks/accordion/accordion.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/blocks/accordion/accordion.js b/blocks/accordion/accordion.js index 7b2f65e1..202e2c75 100644 --- a/blocks/accordion/accordion.js +++ b/blocks/accordion/accordion.js @@ -10,11 +10,9 @@ export default function decorate(block) { expandCollapse.classList.add('expand_collapse'); const expandBtn = document.createElement('a'); expandBtn.classList.add('expand-btn'); - expandBtn.setAttribute('href', '#'); expandBtn.textContent = 'Expand All'; const collapseBtn = document.createElement('a'); collapseBtn.classList.add('collapse-btn'); - collapseBtn.setAttribute('href', '#'); collapseBtn.textContent = 'Collapse All'; expandCollapse.appendChild(expandBtn); expandCollapse.appendChild(collapseBtn);