Skip to content

Commit

Permalink
Active fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
kaubu committed Dec 17, 2023
1 parent 92f7529 commit 72db576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/default/AppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ onMounted(() => {
if (e.code === "KeyS"
&& (document.activeElement !== searchBar)
&& (document.activeElement !== wordlistSearch)) {
// console.log(`Focusing search! activeElement = ${document.activeElement}`);
console.log(`Focusing search! activeElement = ${document.activeElement}`);
searchBar?.focus();
// Unfocus the search bar if escape is pressed
} else if (e.code === "Escape" && (document.activeElement === searchBar)) {
Expand Down

0 comments on commit 72db576

Please sign in to comment.