diff --git a/js/edit_sessions.js b/js/edit_sessions.js index 49bbf6c6..b0106c54 100644 --- a/js/edit_sessions.js +++ b/js/edit_sessions.js @@ -324,12 +324,7 @@ EditSession.Client = class { const Chat = { history: [], - expanded: true, maxlength: 512, - toggle() { - this.expanded = !this.expanded; - BarItems.toggle_chat.setIcon( Chat.expanded ? 'keyboard_arrow_down' : 'keyboard_arrow_up' ) - }, send(text) { if (typeof text !== 'string') { text = $('input#chat_input').val() @@ -444,7 +439,7 @@ Interface.definePanels(function() { template: `
-