Browse Source

corrected leaderboard bug

visualizer2
edoardoo 9 years ago
parent
commit
43acc73d41
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      public/scripts/leaderBoard.js

+ 1
- 1
public/scripts/leaderBoard.js View File

@ -35,7 +35,7 @@ function populateBoard(){
for (var i = 0; i < settings.length; i++) {
for (var j = settings[i].rankings.length - 1; j >= 0; j--) {
if(settings[i].rankings[j].teamId == 235){
results += "<tr><td>"+i+"</td><td>"+j+"</td></tr>"
results += "<tr><td>"+i+"</td><td>"+settings[i].rankings[j].rank+"</td></tr>"
}
};
};


Loading…
Cancel
Save