diff --git a/CTFd/themes/core/static/js/scoreboard.js b/CTFd/themes/core/static/js/scoreboard.js index 94a35d2..bcdc27a 100644 --- a/CTFd/themes/core/static/js/scoreboard.js +++ b/CTFd/themes/core/static/js/scoreboard.js @@ -6,13 +6,13 @@ function updatescores() { for (var i = 0; i < teams.length; i++) { var row = "\n" + - '{0}'.format(i + 1) + + '{0}'.format(teams[i].pos) + '{2}'.format( script_root, - teams["standings"][i].id, - htmlentities(teams["standings"][i].team) + teams[i].id, + htmlentities(teams[i].name) ) + - "{0}".format(teams["standings"][i].score) + + "{0}".format(teams[i].score) + ""; table.append(row); }