fix maxWidth

This commit is contained in:
pi-rho 2017-11-16 13:39:32 -07:00
parent 4950bbc190
commit 6b4792a4c3
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ function scoreboard(element, continuous, mode, interval) {
{
numCats++;
}
var maxWidth = 100 / (0.0 + numCats);
var maxWidth = Math.floor(100 / (0.0 + numCats));
//console.log(maxWidth);
for (var i in winners) {