Always show number of participants badge in toolbar.
Includes showing 1 when user is alone in the room.
This commit is contained in:
parent
cfeb03740c
commit
febaf49d07
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue