Skip to content

Commit

Permalink
🔥 Remove redundant activeElement checks
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcnamara-eng committed Oct 22, 2021
1 parent 8976a1a commit 6c54939
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions addon/components/listbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ export default class ListboxComponent extends Component {
@action
handleKeyDown(event) {
if (
(document.activeElement === this.optionsElement ||
document.activeElement === this.buttonElement) &&
[
'ArrowUp',
'ArrowDown',
Expand Down

0 comments on commit 6c54939

Please sign in to comment.