File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ <h3 style="text-align: center;">NWoC 2020 Leaderboard</h3>
114114 if ( cells . length != 2 ) {
115115 $ ( '#leader-div' ) . html ( '<p>Data could not be parsed.</p>' ) ;
116116 console . log ( "Offending row: " , rows [ i ] ) ;
117+ console . log ( "Offending row index in sheets: " , i + 1 ) ;
117118 console . log ( "Offending cell length segment: " , cells . length ) ;
118119 console . log ( "data for offending segment: " , cells [ 1 ] ) ;
119120
@@ -134,7 +135,7 @@ <h3 style="text-align: center;">NWoC 2020 Leaderboard</h3>
134135 }
135136 table += '<tr>' ;
136137 table += '<td>' + pos + '</td>' ;
137- table += '<td class=\'handle\'><a href=\'https://github.com/' + sortedData [ i ] . username + '\' target=\'_blank\'>' + sortedData [ i ] . username + '</a></td>' ;
138+ table += '<td class=\'handle\'><a href=\'https://github.com/' + sortedData [ i ] . username + '\' target=\'_blank\'>' + sortedData [ i ] . username + '</a></td>' ; `<img style='width: 22px; border-radius: 100%;' src='https://avatars.githubusercontent.com/ ${ sortedData [ i ] . username } ' alt= ${ sortedData [ i ] . username } /> ` ;
138139 table += '<td>' + sortedData [ i ] . score + '</td>' ;
139140 table += '</tr>' ;
140141 }
You can’t perform that action at this time.
0 commit comments