Merge pull request #921 from jitsi/contaclist-title-update

Always show number of participants badge in toolbar.
This commit is contained in:
yanas 2016-09-22 12:40:39 -05:00 committed by GitHub
commit b0012b4d63
1 changed files with 1 additions and 4 deletions

View File

@ -20,10 +20,7 @@ function updateNumberOfParticipants(delta) {
return; return;
} }
let buttonIndicatorText = (numberOfContacts === 1) ? '' : numberOfContacts; $("#numberOfParticipants").text(numberOfContacts);
$("#numberOfParticipants")
.text(buttonIndicatorText)
.parent()[numberOfContacts > 1 ? 'show' : 'hide']();
$("#contacts_container>div.title").text( $("#contacts_container>div.title").text(
APP.translation.translateString("contactlist") APP.translation.translateString("contactlist")