fixed scoreboard ordering
This commit is contained in:
parent
808c914faa
commit
8c039a2888
|
|
@ -100,12 +100,7 @@ function scoreBoard() {
|
|||
}
|
||||
|
||||
function twoDimensionalSort(a, b) {
|
||||
if (a[0] === b[0]) {
|
||||
return 0;
|
||||
}
|
||||
else {
|
||||
return (a[0] > b[0]) ? -1 : 1;
|
||||
}
|
||||
return b[0] - a[0];
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", load);
|
||||
|
|
|
|||
Loading…
Reference in New Issue