diff --git a/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.ts b/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.ts index 84ef3c6..56d5e42 100644 --- a/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.ts +++ b/src/app/components/main-chat/chat-msg-box/chat-msg-box.component.ts @@ -176,7 +176,8 @@ export class ChatMsgBoxComponent { */ targetChatUser(event: Event) { event.stopPropagation(); - this.toggleBoolean.selectUserInMsgBox = true; + this.toggleBoolean.selectUserInMsgBox = + !this.toggleBoolean.selectUserInMsgBox; } /**