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