From dc2a5504fb729a7038a3b7a343ddd5e339ea5ada Mon Sep 17 00:00:00 2001 From: Rohan Sircar Date: Thu, 12 Dec 2019 10:42:23 +0530 Subject: [PATCH] added user menu in chat window creation code --- chatto/src/main/javascript/ts/src/view/ChatView.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chatto/src/main/javascript/ts/src/view/ChatView.ts b/chatto/src/main/javascript/ts/src/view/ChatView.ts index c5f1e69..05c5964 100644 --- a/chatto/src/main/javascript/ts/src/view/ChatView.ts +++ b/chatto/src/main/javascript/ts/src/view/ChatView.ts @@ -36,6 +36,12 @@ export class ChatView implements Observer { this._markdownService = deps.markdownService; this._encryptionService = deps.encryptionService; this.addEventListeners(); + + $(document).ready(function() { + $('#action_menu_btn').click(function() { + $('.action_menu').toggle(); + }); + }); } update(data: ChatMessageViewModel[]): void {