diff --git a/code/region_scoreboard.js b/code/region_scoreboard.js index 90e566077..b8936a419 100755 --- a/code/region_scoreboard.js +++ b/code/region_scoreboard.js @@ -130,11 +130,17 @@ function regionScoreboardScoreHistoryTable(result) { var history = result.scoreHistory; var table = ''; + var sum = [0, 0]; + for(var i=0; i'; } - table += '
CheckpointEnlightenedResistance
' + digits(history[i][1]) + '' + digits(history[i][2]) + '
'; + + table = '
Total: ' + digits(sum[0]) + '' + digits(sum[1]) + '
' + table; + return table; } diff --git a/style.css b/style.css index 9578d1dc0..8c6ffbe30 100644 --- a/style.css +++ b/style.css @@ -1220,6 +1220,10 @@ g.checkpoint:hover circle { padding-left: 10px; } +.scores_total span { + padding: 0 1.5em; +} + .text-overflow-ellipsis { display: inline-block; overflow: hidden;