From 6b4792a4c3a8498f5f97ac24f02f611294330504 Mon Sep 17 00:00:00 2001 From: pi-rho Date: Thu, 16 Nov 2017 13:39:32 -0700 Subject: [PATCH] fix maxWidth --- www/scoreboard-llnl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/scoreboard-llnl.js b/www/scoreboard-llnl.js index 2727bf2..7be4aae 100644 --- a/www/scoreboard-llnl.js +++ b/www/scoreboard-llnl.js @@ -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) {