Skip to content

Commit

Permalink
Make eslint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
otacke committed May 25, 2024
1 parent 6d367f1 commit 8fb23e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/services/focus-trap.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ export default class FocusTrap {
].join(', ');

return Array.from(container.querySelectorAll(focusableElementsSelector))
.filter(element => {
.filter((element) => {
return (
element.disabled !== true &&
element.getAttribute('tabindex') !== '-1'
)
);
});
}

Expand Down

0 comments on commit 8fb23e9

Please sign in to comment.