hack: prevent error messages from resizing the chat box
This commit is contained in:
parent
191fc7c69e
commit
4c840fff52
|
@ -831,6 +831,7 @@
|
|||
}
|
||||
|
||||
function chatMessage(sender, content) {
|
||||
chatMessages.style.width = chatTextarea.offsetWidth + "px"; // HACK to prevent the chat box from getting too big
|
||||
const msgDom = document.createElement("div");
|
||||
|
||||
msgDom.className = "msg";
|
||||
|
|
Loading…
Reference in New Issue