Skip to content
Snippets Groups Projects
Commit 33068113 authored by Ming Rui Zhang's avatar Ming Rui Zhang
Browse files

chatview: fix the issue for textarea to grow too large in a call

jami-client-qt#455

Change-Id: I598fa9ecca9136bc3fe257cbfea289a0b194b63c
parent 9b43004d
Branches
No related tags found
No related merge requests found
......@@ -2506,6 +2506,8 @@ function requestSendMessageContent() {
/* exported setSendMessageContent */
function setSendMessageContent(contentStr) {
messageBarInput.value = contentStr
// Do not grow if there are no messages loaded
if (historyBuffer.length !== 0)
grow_text_area();
reduce_send_container();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment