diff --git a/webroot/js/components/chat/chat.js b/webroot/js/components/chat/chat.js index 014ddffc4..05cb2f865 100644 --- a/webroot/js/components/chat/chat.js +++ b/webroot/js/components/chat/chat.js @@ -123,9 +123,11 @@ export default class Chat extends Component { this.setState(newState); } } + websocketDisconnected() { - // this.websocket = null; - this.disableChat(); + this.setState({ + inputEnabled: false, + }); } submitChat(content) {