open view links in new window
This commit is contained in:
parent
38a151e872
commit
5a01234807
@ -85,7 +85,7 @@
|
|||||||
|
|
||||||
let usersList = Object.values(users)
|
let usersList = Object.values(users)
|
||||||
.filter(u => u.name !== '')
|
.filter(u => u.name !== '')
|
||||||
.map(u => `<a href="/view/${u.id}" style="color: ${u.color};" title="${u.color}">${u.name}</a>`);
|
.map(u => `<a target="_blank" href="/view/${u.id}" style="color: ${u.color};" title="${u.color}">${u.name}</a>`);
|
||||||
|
|
||||||
$usersList.html(`<strong>${usersList.length} users online:</strong> ${usersList.join(', ')}`);
|
$usersList.html(`<strong>${usersList.length} users online:</strong> ${usersList.join(', ')}`);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user