mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 05:49:22 +00:00
Fix bad check
This commit is contained in:
parent
a71c3f8a73
commit
8773d203da
@ -34,7 +34,7 @@ ComunicWeb.components.notifications.service = {
|
||||
target.innerHTML = this.count_unread_notifications;
|
||||
|
||||
//If the number of notifications equals 0, hide the target if required
|
||||
target.style.display = this.count_unread_conv == 0 && auto_hide ? "none" : "block";
|
||||
target.style.display = this.count_unread_notifications == 0 && auto_hide ? "none" : "block";
|
||||
|
||||
//Update the number of conversations if possible too
|
||||
if(target_conversations){
|
||||
|
Loading…
Reference in New Issue
Block a user