diff --git a/files/assets/js/chat.js b/files/assets/js/chat.js
index 00e407296..69a31f2a5 100644
--- a/files/assets/js/chat.js
+++ b/files/assets/js/chat.js
@@ -133,13 +133,8 @@ socket.on('typing', function (users){
document.getElementById('typing-indicator').innerHTML = ''+users[0]+" and "+users[1]+" are typing...";
document.getElementById('loading-indicator').classList.remove('d-none');
}
- else if (users.length==3){
+ else {
document.getElementById('typing-indicator').innerHTML = ''+users[0]+", "+users[1]+", and "+users[2]+" are typing...";
document.getElementById('loading-indicator').classList.remove('d-none');
}
- else if (users.length>=4){
- more=users.length-3
- document.getElementById('typing-indicator').innerHTML = ''+users[0]+", "+users[1]+", "+users[2]+" and "+more.toString()+" more are typing...";
- document.getElementById('loading-indicator').classList.remove('d-none');
- }
})
diff --git a/files/templates/chat.html b/files/templates/chat.html
index 1f00c8e0b..b30c53d1a 100644
--- a/files/templates/chat.html
+++ b/files/templates/chat.html
@@ -81,7 +81,7 @@
-
+