Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellamaki committed May 12, 2022
1 parent 2361a84 commit 07ca4ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/KDropdownMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
handleOpenMenuNavigation(event) {
// identify the menu state and length
if (!this.$refs.popover && !this.$refs.popover.$el) {
return
return;
}
const popover = this.$refs.popover.$el;
const menuElements = this.$refs.menu.$el.querySelector('div').children;
Expand All @@ -145,7 +145,7 @@
sibling ? this.$nextTick(() => sibling.focus()) : this.$nextTick(() => this.setFocus());
// if a tab key, not an arrow key, close the popover and advance to next item in the tab index
} else if (event.keyCode == 9 && popoverIsOpen) {
this.closePopover()
this.closePopover();
}
},
handleSelection(selection) {
Expand Down

0 comments on commit 07ca4ef

Please sign in to comment.