From 182e34da51e94051816a66e68bde27f53cc60d21 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 10 Feb 2020 03:16:34 +0900 Subject: [PATCH] Clean up --- src/client/components/url-preview-popup.vue | 2 +- src/client/components/url.vue | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/client/components/url-preview-popup.vue b/src/client/components/url-preview-popup.vue index 4f6b06222..26fdbf44a 100644 --- a/src/client/components/url-preview-popup.vue +++ b/src/client/components/url-preview-popup.vue @@ -1,5 +1,5 @@ diff --git a/src/client/components/url.vue b/src/client/components/url.vue index b8dbacc6d..23f2be7be 100644 --- a/src/client/components/url.vue +++ b/src/client/components/url.vue @@ -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() {