Disable search hotkey when modal is open
This commit is contained in:
parent
92aa58356b
commit
d5c74cccbd
1 changed files with 3 additions and 1 deletions
|
@ -51,7 +51,9 @@ const SearchBar = {
|
|||
event.isComposing ||
|
||||
event.metaKey ||
|
||||
event.repeat ||
|
||||
event.shiftKey
|
||||
event.shiftKey ||
|
||||
// not very vue-esque, but as long as it works
|
||||
document.querySelector('.modal-view.modal-background.open')
|
||||
) {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue