From d4fa64a1bf64b2d7f600c340c43224f52d063d90 Mon Sep 17 00:00:00 2001 From: ansuz Date: Sun, 31 Jan 2021 17:13:24 +0530 Subject: [PATCH] lint compliance --- www/admin/inner.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/admin/inner.js b/www/admin/inner.js index c50e972ac..8ea6cfe17 100644 --- a/www/admin/inner.js +++ b/www/admin/inner.js @@ -892,12 +892,11 @@ define([ if (o[b] - o[a] <= 0) { return -1; } return 1; }); - var x = {}; var total = 0; sorted.forEach(function (k) { total += o[k]; }); sorted.forEach(function (k) { var percent = Math.floor((o[k] / total) * 1000) / 10; - appendRow(k, o[k], percent) + appendRow(k, o[k], percent); }); };