mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-19 11:02:58 +00:00
Remove "X participants" message
This commit is contained in:
parent
3c9608dffc
commit
e6a9e01089
@ -49,16 +49,7 @@ $(function() {
|
||||
var message = '';
|
||||
var headerMsg = '';
|
||||
|
||||
if (data.numUsers === 1) {
|
||||
message += "There's 1 participant";
|
||||
headerMsg = "1 Participant";
|
||||
} else {
|
||||
message += "There are " + data.numUsers + " participants";
|
||||
headerMsg = data.numUsers + " participants";
|
||||
}
|
||||
|
||||
$participants.text(data.numUsers);
|
||||
log(message);
|
||||
}
|
||||
|
||||
// Sets the client's username
|
||||
|
Loading…
x
Reference in New Issue
Block a user