mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-23 02:35:10 +00:00
Fix bug
This commit is contained in:
parent
c30c71c338
commit
d47d6bb12b
1 changed files with 5 additions and 0 deletions
|
@ -51,6 +51,11 @@ export default {
|
||||||
clearTimeout(self.hideTimer);
|
clearTimeout(self.hideTimer);
|
||||||
self.hideTimer = setTimeout(self.close, 500);
|
self.hideTimer = setTimeout(self.close, 500);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
el.addEventListener('click', () => {
|
||||||
|
clearTimeout(self.showTimer);
|
||||||
|
self.close();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
unbind(el, binding, vn) {
|
unbind(el, binding, vn) {
|
||||||
|
|
Loading…
Reference in a new issue