diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-07 18:14:53 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-07 18:14:53 +0800 |
commit | 983fa2a11721aa7d1307ef76d516e25a50d0eedf (patch) | |
tree | bfe3cc63c9b3169e7116535f551749694073d714 /ui/app/components/token-cell.js | |
parent | 14b2f3e391752cca02c05ae0137e490bfdcdd7a7 (diff) | |
download | tangerine-wallet-browser-983fa2a11721aa7d1307ef76d516e25a50d0eedf.tar tangerine-wallet-browser-983fa2a11721aa7d1307ef76d516e25a50d0eedf.tar.gz tangerine-wallet-browser-983fa2a11721aa7d1307ef76d516e25a50d0eedf.tar.bz2 tangerine-wallet-browser-983fa2a11721aa7d1307ef76d516e25a50d0eedf.tar.lz tangerine-wallet-browser-983fa2a11721aa7d1307ef76d516e25a50d0eedf.tar.xz tangerine-wallet-browser-983fa2a11721aa7d1307ef76d516e25a50d0eedf.tar.zst tangerine-wallet-browser-983fa2a11721aa7d1307ef76d516e25a50d0eedf.zip |
Add Contract Tx List Item; Update Token Tx on select
Diffstat (limited to 'ui/app/components/token-cell.js')
-rw-r--r-- | ui/app/components/token-cell.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/token-cell.js b/ui/app/components/token-cell.js index e3ed734f4..a6fe8fc61 100644 --- a/ui/app/components/token-cell.js +++ b/ui/app/components/token-cell.js @@ -42,7 +42,7 @@ TokenCell.prototype.render = function () { return ( h('div.token-list-item', { - className: `token-list-item ${selectedTokenAddress ? 'token-list-item--active' : ''}`, + className: `token-list-item ${selectedTokenAddress === address ? 'token-list-item--active' : ''}`, // style: { cursor: network === '1' ? 'pointer' : 'default' }, // onClick: this.view.bind(this, address, userAddress, network), onClick: () => setSelectedToken(address), |