This commit is contained in:
2023-08-14 14:14:05 +03:00
parent 42a5452fc5
commit 3465563b27
5 changed files with 33 additions and 16 deletions

View File

@@ -89,7 +89,7 @@ chatSocket.onmessage = function (e) {
}
}
if (data.unread_msgs_count > 0){
let list_unrd = document.querySelectorAll(".unredmessages_value_text")
let list_unrd = document.querySelectorAll(".qs")
let i = 0
for (i;i < list_unrd.length;i++){
list_unrd[i].innerHTML = data.unread_msgs_count.toString()