webui: chat: unread msg count for peer fixed

This commit is contained in:
zeners 2016-02-21 09:29:09 +01:00
parent f29f1b21af
commit 7c121d7792

View File

@ -52,8 +52,8 @@ function lobbies(){
}
},
peer.name + " / " + loc.location + (
lobby.unread_msgs > 0
? ("(" + lobby.unread_msgs + ")")
loc.unread_msgs > 0
? ("(" + loc.unread_msgs + ")")
: "")
);
})