Skip to content

Commit 58e21a5

Browse files
committed
Fix student links in all results page
1 parent 8f348d9 commit 58e21a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

exercise/static/exercise/results_staff.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@
11741174
*/
11751175
function renderParticipantLink(data, type, row) {
11761176
// TODO: Get the link to students in a proper way
1177-
const link = $('li.menu-participants').find('a').attr('href');
1177+
const link = $('.menu-participants').attr('href');
11781178
return (row['UserID'] > 0 ? '<a href="' + link + row['UserID'] + '">' + (!data ? '—' : data) + '</a>' : '');
11791179
}
11801180

0 commit comments

Comments
 (0)