diff --git a/CHANGELOG.md b/CHANGELOG.md index 3112fb44e8..99c017a33e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ - チャンネルのお気に入りが無限に読み込まれる問題を修正 - さがすのローカルユーザー(ピンどめ)が無限に生成される問題を修正 - チャンネルを新規作成できない問題を修正 +- ユーザープレビューが表示されない問題を修正 ### Server - 通知読み込みでエラーが発生する場合がある問題を修正 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() {