hack: prevent error messages from resizing the chat box

This commit is contained in:
Raphaël Jakse 2020-10-03 12:33:24 +02:00
parent 191fc7c69e
commit 4c840fff52
1 changed files with 1 additions and 0 deletions

View File

@ -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";