fix maxWidth

This commit is contained in:
pi-rho 2017-11-16 13:39:32 -07:00
parent 76f210a287
commit 22357dc840
1 changed files with 1 additions and 1 deletions

View File

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