diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-04-09 09:44:00 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-04-09 09:44:00 +0900 |
| commit | 269d1e72cb159449b862fd6577b1ffdc21d3087b (patch) | |
| tree | a4f60dfc229680401012ce16f6b4d7de3d1ac065 /packages/frontend/src | |
| parent | 13.11.1 (diff) | |
| download | misskey-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.ts | 4 |
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() { |