diff --git a/src/static/js/chat.js b/src/static/js/chat.js index 63c17c153..ac6e96880 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', () => { this.show(); return false; }); + $('#titlecross').on('click', () => { this.hide(); return false; }); + $('#titlesticky').on('click', () => { this.stickToScreen(true); return false; }); $('#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 ab37ac243..b1f033f59 100644 --- a/src/templates/pad.html +++ b/src/templates/pad.html @@ -122,11 +122,11 @@ <% e.begin_block("mySettings"); %>

- +

- +

@@ -375,7 +375,7 @@ -

+
0 @@ -385,8 +385,8 @@