summaryrefslogtreecommitdiff
path: root/packages/client/src/directives/user-preview.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/client/src/directives/user-preview.ts')
-rw-r--r--packages/client/src/directives/user-preview.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/client/src/directives/user-preview.ts b/packages/client/src/directives/user-preview.ts
index c461676624..ed5f00ca65 100644
--- a/packages/client/src/directives/user-preview.ts
+++ b/packages/client/src/directives/user-preview.ts
@@ -27,7 +27,7 @@ export class UserPreview {
popup(defineAsyncComponent(() => import('@/components/MkUserPreview.vue')), {
showing,
q: this.user,
- source: this.el
+ source: this.el,
}, {
mouseover: () => {
window.clearTimeout(this.hideTimer);
@@ -41,7 +41,7 @@ export class UserPreview {
this.promise = {
cancel: () => {
showing.value = false;
- }
+ },
};
this.checkTimer = window.setInterval(() => {
@@ -114,5 +114,5 @@ export default {
const self = el._userPreviewDirective_;
self.preview.detach();
- }
+ },
} as Directive;