Update assets/js/app.js

This commit is contained in:
Chris McCord 2021-11-22 14:28:57 -05:00 committed by GitHub
parent a19a6091e6
commit cead091227
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ Hooks.Menu = {
let menuItems = this.menuItems()
this.deactivate(menuItems)
this.activate(menuItems.indexOf(this.activeItem) - 1, menuItems.length - 1)
} else if (e.key == "Tab") {
} else if (e.key === "Tab"){
e.preventDefault()
}
}