mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
lint compliance
This commit is contained in:
parent
94b907e126
commit
d4fa64a1bf
@ -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);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user