forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-03-22 06:12:28 +02:00
parent ed58c7075f
commit 598508a972
1 changed files with 8 additions and 4 deletions

View File

@ -143,10 +143,14 @@
function send() {
socket.emit('speak', textbox.value);
textbox.value = ''
is_typing = false
socket.emit('typing', false);
text = textbox.value.trim()
if (text)
{
socket.emit('speak', text);
textbox.value = ''
is_typing = false
socket.emit('typing', false);
}
}