mirror of
https://github.com/ianramzy/decentralized-video-chat.git
synced 2024-11-17 07:39:21 +08:00
Update chat.js
This commit is contained in:
parent
073d15070b
commit
29ed049206
@ -768,9 +768,8 @@ chatInput.addEventListener("keypress", function (event) {
|
||||
if (isEmptyOrSpaces(msg) == false) {
|
||||
dataChanel.send("mes:" + msg);
|
||||
addMessageToScreen(msg, true);
|
||||
|
||||
}
|
||||
// Add message to screen
|
||||
}
|
||||
// Auto scroll chat down
|
||||
chatZone.scrollTop(chatZone[0].scrollHeight);
|
||||
// Clear chat input
|
||||
|
Loading…
Reference in New Issue
Block a user