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() { function send() {
socket.emit('speak', textbox.value); text = textbox.value.trim()
textbox.value = '' if (text)
is_typing = false {
socket.emit('typing', false); socket.emit('speak', text);
textbox.value = ''
is_typing = false
socket.emit('typing', false);
}
} }