From 683651e75de0f1e01da94c7ed4a35db65f2251be Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Thu, 18 Aug 2016 16:01:40 -0700 Subject: Lint and changelog. --- ui/app/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/app') diff --git a/ui/app/util.js b/ui/app/util.js index ce52348c8..2d1c753dd 100644 --- a/ui/app/util.js +++ b/ui/app/util.js @@ -149,10 +149,10 @@ function shortenBalance (balance, decimalsToKeep = 1) { return '0' } else if (convertedBalance < 0.001) { return '<0.001' - } else if (convertedBalance < 1) { + } else if (convertedBalance < 1) { var stringBalance = convertedBalance.toString() if (stringBalance.split('.')[1].length > 3) { - return convertedBalance.toFixed(3); + return convertedBalance.toFixed(3) } else { return stringBalance } -- cgit