Skip to content

Commit 3df9d35

Browse files
committed
bug fix
1 parent c5938a5 commit 3df9d35

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

leaderboard.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,7 @@ <h3 style="text-align: center;">NWoC 2020 Leaderboard</h3>
130130
}
131131
table += '<tr>';
132132
table += '<td>'+pos+'</td>';
133-
table += (
134-
'<td class=\'handle\'><a href=\'https://github.com/'
135-
+ sortedData[i].username
136-
+ '\' target=\'_blank\'>'
137-
+ `<img style='width: 22px; border-radius: 100%;' src='https://avatars.githubusercontent.com/${sortedData[i].username}' alt=${sortedData[i].username} />&nbsp;`
138-
+ sortedData[i].username
139-
+ '</a></td>'
140-
);
133+
table += '<td class=\'handle\'><a href=\'https://github.com/'+sortedData[i].username+'\' target=\'_blank\'>'+sortedData[i].username+'</a></td>';
141134
table += '<td>'+sortedData[i].score+'</td>';
142135
table += '</tr>';
143136
}

0 commit comments

Comments
 (0)