0.1.365 add img
This commit is contained in:
BIN
static/img/png/finlogo.png
Normal file
BIN
static/img/png/finlogo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 60 KiB |
@@ -6,10 +6,13 @@ function update_count_unread_messages (data) {
|
||||
let list_unrd_parent = document.querySelectorAll(".icon_unread_messages")
|
||||
let i = 0
|
||||
for (i;i < list_unrd.length;i++){
|
||||
|
||||
if (!list_unrd_parent[i].classList.contains("showed")){
|
||||
list_unrd_parent[i].classList.toggle("showed")
|
||||
}
|
||||
} else if(list_unrd[i].innerHTML === ''){
|
||||
list_unrd[i].innerHTML = data.unread_msgs_count.toString()
|
||||
} list_unrd[i].innerHTML++
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user