diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-08-17 01:48:31 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-08-17 01:48:31 +0800 |
commit | 7d1b2db87e9d66735d0de04dc5e8c53e72e8431b (patch) | |
tree | 1152360fd3b9e17d379ecbc0595299c40eb3068a /ui/app/util.js | |
parent | 009784c79b5c0ebfd9dbe9536870c55e906e914d (diff) | |
download | tangerine-wallet-browser-7d1b2db87e9d66735d0de04dc5e8c53e72e8431b.tar tangerine-wallet-browser-7d1b2db87e9d66735d0de04dc5e8c53e72e8431b.tar.gz tangerine-wallet-browser-7d1b2db87e9d66735d0de04dc5e8c53e72e8431b.tar.bz2 tangerine-wallet-browser-7d1b2db87e9d66735d0de04dc5e8c53e72e8431b.tar.lz tangerine-wallet-browser-7d1b2db87e9d66735d0de04dc5e8c53e72e8431b.tar.xz tangerine-wallet-browser-7d1b2db87e9d66735d0de04dc5e8c53e72e8431b.tar.zst tangerine-wallet-browser-7d1b2db87e9d66735d0de04dc5e8c53e72e8431b.zip |
linting and ignoring.
Diffstat (limited to 'ui/app/util.js')
-rw-r--r-- | ui/app/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/util.js b/ui/app/util.js index eac895ddd..e1fd6e399 100644 --- a/ui/app/util.js +++ b/ui/app/util.js @@ -145,7 +145,7 @@ function shortenBalance (balance, decimalsToKeep = 1) { } else if (convertedBalance > 1000) { truncatedValue = (balance / 1000).toFixed(decimalsToKeep) return `>${truncatedValue}k` - } else if (convertedBalance == 0) { + } else if (convertedBalance === 0) { return '0' } else if (convertedBalance < 1) { var exponent = balance.match(/\.0*/)[0].length |