Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccar committed Nov 16, 2023
1 parent 49b5b01 commit 0157969
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/details/details.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ export default class Details {
this.saveState = detailsElement.getAttribute('data-save-state') === 'true';
this.open = detailsElement.getAttribute('data-open') === 'true';
this.group = detailsElement.getAttribute('data-group');
this.isAccordion = detailsElement.classList.contains('ons-details--accordion');

// Elements
this.details = detailsElement;
Expand All @@ -16,7 +15,6 @@ export default class Details {
this.details.setAttribute('role', 'group');
this.detailsHeader.setAttribute('role', 'link');
this.detailsHeader.setAttribute('aria-controls', detailsId);

this.detailsHeader.setAttribute('tabindex', 0);

if (localStorage.getItem(detailsId) || this.open) {
Expand Down

0 comments on commit 0157969

Please sign in to comment.