diff --git a/plugins/stats/stats.js b/plugins/stats/stats.js index 7011aae2..2079cd0c 100644 --- a/plugins/stats/stats.js +++ b/plugins/stats/stats.js @@ -63,7 +63,8 @@ } // percentage helper - const percentage = (portion, total) => (total > 0 ? (portion / total * 100).toFixed(2) : 0) + "%"; + const percentage = (portion, total) => + (total > 0 ? ((portion / total) * 100).toFixed(2) : 0) + "%"; // *** actual stats fetching *** // performer of scenes with any StashID