diff --git a/src/static/js/chat.js b/src/static/js/chat.js index 63c17c153..4082c7c19 100755 --- a/src/static/js/chat.js +++ b/src/static/js/chat.js @@ -218,6 +218,11 @@ exports.chat = (() => { }, init(pad) { this._pad = pad; + $('#options-stickychat').on('click', () => this.stickToScreen()); + $('#options-chatandusers').on('click', () => this.chatAndUsers()); + $('#chaticon').on('click', (e) => { e.preventDefault(); this.show(); }); + $('#titlecross').on('click', (e) => { e.preventDefault(); this.hide(); }); + $('#titlesticky').on('click', (e) => { e.preventDefault(); this.stickToScreen(true); }); $('#chatinput').on('keydown', (evt) => { // If the event is Alt C or Escape & we're already in the chat menu // Send the users focus back to the pad diff --git a/src/templates/pad.html b/src/templates/pad.html index 84dc3d668..ebad29645 100644 --- a/src/templates/pad.html +++ b/src/templates/pad.html @@ -122,11 +122,11 @@ <% e.begin_block("mySettings"); %>
@@ -368,7 +368,7 @@ -