mirror of
https://github.com/simon987/sist2.git
synced 2025-04-16 00:46:43 +00:00
Fix spacebar not working in search bar
This commit is contained in:
parent
a75675ecea
commit
54df1dfcf7
@ -81,7 +81,9 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
keyDownListener(e) {
|
keyDownListener(e) {
|
||||||
|
|
||||||
if (this.$refs.lightbox === undefined) {
|
const isLightboxOpen = this.$refs.lightbox === undefined || this.$refs.lightbox.$el.tagName === undefined;
|
||||||
|
|
||||||
|
if (isLightboxOpen) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user