modified: templates/chat.html
This commit is contained in:
parent
8b90bc6485
commit
2449703489
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ function sendMessage() {
|
|||
|
||||
if (messageToSend !== "") { // Ensure we're not sending empty messages
|
||||
if (model !== "None") {
|
||||
messageToSend = `${model} ${messageToSend}`;
|
||||
messageToSend = `${model} \n\n ${messageToSend}`;
|
||||
}
|
||||
socket.emit("chat_message", {"username": username, "message": messageToSend, "room_name": room_name});
|
||||
document.getElementById("message").value = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue