Clean up
This commit is contained in:
parent
9ca60bad7f
commit
8df7864064
2 changed files with 1 additions and 10 deletions
|
|
@ -83,15 +83,6 @@ export default Vue.extend({
|
|||
}
|
||||
}).$mount();
|
||||
|
||||
this.preview.$on('mouseover', () => {
|
||||
clearTimeout(this.hideTimer);
|
||||
});
|
||||
|
||||
this.preview.$on('mouseleave', () => {
|
||||
clearTimeout(this.showTimer);
|
||||
this.hideTimer = setTimeout(this.closePreview, 500);
|
||||
});
|
||||
|
||||
document.body.appendChild(this.preview.$el);
|
||||
},
|
||||
closePreview() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue