mirror of
https://github.com/sist2app/sist2.git
synced 2025-05-12 21:05:58 +02:00
Fix spacebar not working in search bar
This commit is contained in:
parent
a75675ecea
commit
54df1dfcf7
1 changed files with 3 additions and 1 deletions
|
@ -81,7 +81,9 @@ export default {
|
|||
methods: {
|
||||
keyDownListener(e) {
|
||||
|
||||
if (this.$refs.lightbox === undefined) {
|
||||
const isLightboxOpen = this.$refs.lightbox === undefined || this.$refs.lightbox.$el.tagName === undefined;
|
||||
|
||||
if (isLightboxOpen) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue