Merge branch 'staging' into dark

pull/1/head
ansuz 4 years ago
commit 2f8573996a

@ -892,12 +892,11 @@ define([
if (o[b] - o[a] <= 0) { return -1; } if (o[b] - o[a] <= 0) { return -1; }
return 1; return 1;
}); });
var x = {};
var total = 0; var total = 0;
sorted.forEach(function (k) { total += o[k]; }); sorted.forEach(function (k) { total += o[k]; });
sorted.forEach(function (k) { sorted.forEach(function (k) {
var percent = Math.floor((o[k] / total) * 1000) / 10; var percent = Math.floor((o[k] / total) * 1000) / 10;
appendRow(k, o[k], percent) appendRow(k, o[k], percent);
}); });
}; };

Loading…
Cancel
Save