mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
bug/fixed open search on '/' when on input
This commit is contained in:
parent
d04b899ffd
commit
b33bab1194
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ export default {
|
|||
},
|
||||
created() {
|
||||
window.addEventListener("keyup", e => {
|
||||
if (e.key == "/") {
|
||||
if (e.key == "/" && !document.activeElement.id.startsWith('input') ) {
|
||||
this.search = !this.search;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue