From 0157969276bab82a91111cc9b2c307830889d57d Mon Sep 17 00:00:00 2001 From: Richard McCarthy Date: Thu, 16 Nov 2023 16:32:06 +0000 Subject: [PATCH] remove unused var --- src/components/details/details.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/details/details.js b/src/components/details/details.js index 8b0e541fde..ddf986911f 100644 --- a/src/components/details/details.js +++ b/src/components/details/details.js @@ -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; @@ -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) {