Vidage du textarea après envoi du message
This commit is contained in:
@@ -167,6 +167,7 @@
|
||||
if (event.key === 'Enter') {
|
||||
event.preventDefault(); // Disallow adding a new line
|
||||
sendMessage(chatInput.value);
|
||||
chatInput.value = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user