Skip to content

Commit

Permalink
Merge pull request #176 from hlxsites/feature/href-issue-accordion
Browse files Browse the repository at this point in the history
Removed href in accordion CTA
  • Loading branch information
pardeepgera23 authored Nov 25, 2023
2 parents 7b146c1 + b14b234 commit d4f5b15
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions blocks/accordion/accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d4f5b15

Please sign in to comment.