mirror of https://github.com/dirtbags/moth.git
fix maxWidth
This commit is contained in:
parent
76f210a287
commit
22357dc840
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue