use title on name/color
This commit is contained in:
parent
7643361915
commit
c4c1e20526
@ -86,7 +86,7 @@
|
||||
|
||||
let usersList = Object.values(users)
|
||||
.filter(u => u.name !== '')
|
||||
.map(u => `<span style='color: ${u.color};'>${u.name}</span>`);
|
||||
.map(u => `<span style="color: ${u.color};" title="${u.color}">${u.name}</span>`);
|
||||
|
||||
$usersList.html(`<strong>${usersList.length} users online:</strong> ${usersList.join(', ')}`);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user