From aef1c155cc9523b8eb50a7b2e170d68b6fc2e41d Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 7 Nov 2018 16:02:48 -0500 Subject: [PATCH] hey husky wtf you doin' --- public/src/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/utils.js b/public/src/utils.js index 84bc2daff4..74ecc9231c 100644 --- a/public/src/utils.js +++ b/public/src/utils.js @@ -321,7 +321,7 @@ if (typeof target === 'number') { return String.fromCharCode(target); - } if (typeof target === 'string') { + } else if (typeof target === 'string') { return target; } @@ -487,7 +487,7 @@ } if (n > 999999) { return (n / 1000000).toFixed(1) + 'm'; - } if (n > 999) { + } else if (n > 999) { return (n / 1000).toFixed(1) + 'k'; } return n;