summaryrefslogtreecommitdiff
path: root/src/client/components/link.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/components/link.vue')
-rw-r--r--src/client/components/link.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/components/link.vue b/src/client/components/link.vue
index 4c709375d3..7a364d0986 100644
--- a/src/client/components/link.vue
+++ b/src/client/components/link.vue
@@ -62,13 +62,13 @@ export default Vue.extend({
}
},
onMouseover() {
- if (isDeviceTouch()) return;
+ if (isDeviceTouch) return;
clearTimeout(this.showTimer);
clearTimeout(this.hideTimer);
this.showTimer = setTimeout(this.showPreview, 500);
},
onMouseleave() {
- if (isDeviceTouch()) return;
+ if (isDeviceTouch) return;
clearTimeout(this.showTimer);
clearTimeout(this.hideTimer);
this.hideTimer = setTimeout(this.closePreview, 500);