display game id on click of name
This commit is contained in:
parent
554708ec98
commit
d83d148062
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ export class LeaderBoardService {
|
|||
nameElement.style.cursor = 'pointer';
|
||||
nameElement.style.fontWeight = 'bold';
|
||||
nameElement.style.fontStyle = 'italic';
|
||||
nameElement.onmousedown = () => console.log(game.id);
|
||||
|
||||
const indexElement = document.createElement('div');
|
||||
indexElement.innerText = `#${i++}`;
|
||||
|
|
Loading…
Reference in a new issue