aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorAust <AustP@users.noreply.github.com>2016-07-19 00:38:27 +0800
committerGitHub <noreply@github.com>2016-07-19 00:38:27 +0800
commitc1859a24eefd0bd8b1717d148e6f566df0007f31 (patch)
tree00c58d383caafbd47989261f2655c51d2e094bf2 /ui
parent061633bf6725422bfb3f35bf3fdb17b514669357 (diff)
downloadtangerine-wallet-browser-c1859a24eefd0bd8b1717d148e6f566df0007f31.tar
tangerine-wallet-browser-c1859a24eefd0bd8b1717d148e6f566df0007f31.tar.gz
tangerine-wallet-browser-c1859a24eefd0bd8b1717d148e6f566df0007f31.tar.bz2
tangerine-wallet-browser-c1859a24eefd0bd8b1717d148e6f566df0007f31.tar.lz
tangerine-wallet-browser-c1859a24eefd0bd8b1717d148e6f566df0007f31.tar.xz
tangerine-wallet-browser-c1859a24eefd0bd8b1717d148e6f566df0007f31.tar.zst
tangerine-wallet-browser-c1859a24eefd0bd8b1717d148e6f566df0007f31.zip
Add eslint config to pass tests
Diffstat (limited to 'ui')
-rw-r--r--ui/app/util.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/app/util.js b/ui/app/util.js
index 4655d63dc..04ebcecdb 100644
--- a/ui/app/util.js
+++ b/ui/app/util.js
@@ -123,6 +123,7 @@ function generateBalanceObject (formattedBalance, decimalsToKeep = 1) {
var shortBalance = shortenBalance(balance, decimalsToKeep)
if (beforeDecimal === '0' && afterDecimal.substr(0, 5) === '00000') {
+ // eslint-disable-next-line eqeqeq
if (afterDecimal == 0) {
balance = '0'
} else {