From 8df7864064cffe613737403746ef891e80ef6b19 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 4f6b06222c..26fdbf44a9 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 b8dbacc6de..23f2be7be3 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() {