added user menu in chat window creation code

This commit is contained in:
Rohan Sircar 2019-12-12 10:42:23 +05:30
parent 88f8a33506
commit dc2a5504fb

View File

@ -36,6 +36,12 @@ export class ChatView implements Observer {
this._markdownService = deps.markdownService; this._markdownService = deps.markdownService;
this._encryptionService = deps.encryptionService; this._encryptionService = deps.encryptionService;
this.addEventListeners(); this.addEventListeners();
$(document).ready(function() {
$('#action_menu_btn').click(function() {
$('.action_menu').toggle();
});
});
} }
update(data: ChatMessageViewModel[]): void { update(data: ChatMessageViewModel[]): void {