set height upon adding names
This commit is contained in:
parent
79c6f77a79
commit
7643361915
@ -89,6 +89,9 @@
|
|||||||
.map(u => `<span style='color: ${u.color};'>${u.name}</span>`);
|
.map(u => `<span style='color: ${u.color};'>${u.name}</span>`);
|
||||||
|
|
||||||
$usersList.html(`<strong>${usersList.length} users online:</strong> ${usersList.join(', ')}`);
|
$usersList.html(`<strong>${usersList.length} users online:</strong> ${usersList.join(', ')}`);
|
||||||
|
|
||||||
|
// set the height in case we have more than one row
|
||||||
|
setHeight();
|
||||||
});
|
});
|
||||||
|
|
||||||
connection.start().then(function () {
|
connection.start().then(function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user