Skip to content

Commit

Permalink
web: fix colors in leaderboards
Browse files Browse the repository at this point in the history
  • Loading branch information
l0f3n committed Dec 15, 2023
1 parent 40248d5 commit a1b0174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wikiweaver-web/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function AddLeaderboardEntry(username, clicks, pages) {
leaderboard.firstElementChild.insertAdjacentHTML(
"beforeend",
`<tr id="leaderboard-row-${username}">
<td data-cell="color" style="color: ${color}">⬤</td>
<td data-cell="color" style="color: ${CMap[color].bgcolor}">⬤</td>
<td data-cell="username">${username}</td>
<td data-cell="clicks">${clicks}</td>
<td data-cell="pages">${pages}</td>
Expand Down

0 comments on commit a1b0174

Please sign in to comment.