summaryrefslogtreecommitdiff
path: root/packages/frontend/src
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-04-09 09:44:00 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-04-09 09:44:00 +0900
commit269d1e72cb159449b862fd6577b1ffdc21d3087b (patch)
treea4f60dfc229680401012ce16f6b4d7de3d1ac065 /packages/frontend/src
parent13.11.1 (diff)
downloadmisskey-269d1e72cb159449b862fd6577b1ffdc21d3087b.tar.gz
misskey-269d1e72cb159449b862fd6577b1ffdc21d3087b.tar.bz2
misskey-269d1e72cb159449b862fd6577b1ffdc21d3087b.zip
fix(frontend): ユーザープレビューが表示されない問題を修正
Fix #10540
Diffstat (limited to 'packages/frontend/src')
-rw-r--r--packages/frontend/src/directives/user-preview.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/directives/user-preview.ts b/packages/frontend/src/directives/user-preview.ts
index ae12f2670a..397f449bd1 100644
--- a/packages/frontend/src/directives/user-preview.ts
+++ b/packages/frontend/src/directives/user-preview.ts
@@ -13,8 +13,6 @@ export class UserPreview {
this.el = el;
this.user = user;
- this.attach();
-
this.show = this.show.bind(this);
this.close = this.close.bind(this);
this.onMouseover = this.onMouseover.bind(this);
@@ -22,6 +20,8 @@ export class UserPreview {
this.onClick = this.onClick.bind(this);
this.attach = this.attach.bind(this);
this.detach = this.detach.bind(this);
+
+ this.attach();
}
private show() {