diff --git a/templates/chat/chat_js.html b/templates/chat/chat_js.html index 78418c5..81fe1f9 100644 --- a/templates/chat/chat_js.html +++ b/templates/chat/chat_js.html @@ -219,7 +219,6 @@ if ($("#chat-input").val().trim()) { $('#chat-input-container').height('auto'); var body = $('#chat-input').val().trim(); - // body = body.split('\n').join('\n\n'); var message = { body: body, @@ -228,6 +227,7 @@ }; $('#chat-input').val(''); + $('#chat-input').css('height', '70%'); add_message_from_template(body, message.tmp_id);