diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-05-27 02:16:58 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-05-27 02:16:58 +0800 |
commit | 9d2844c7128c79314529e163b473353d42200e9c (patch) | |
tree | 4a684ff7245d75d008f417fb2bbd836497c42206 /ui/lib | |
parent | fb2565c9d1f6c3cc6601c0f317fe10651ad21097 (diff) | |
download | tangerine-wallet-browser-9d2844c7128c79314529e163b473353d42200e9c.tar tangerine-wallet-browser-9d2844c7128c79314529e163b473353d42200e9c.tar.gz tangerine-wallet-browser-9d2844c7128c79314529e163b473353d42200e9c.tar.bz2 tangerine-wallet-browser-9d2844c7128c79314529e163b473353d42200e9c.tar.lz tangerine-wallet-browser-9d2844c7128c79314529e163b473353d42200e9c.tar.xz tangerine-wallet-browser-9d2844c7128c79314529e163b473353d42200e9c.tar.zst tangerine-wallet-browser-9d2844c7128c79314529e163b473353d42200e9c.zip |
remove more in operators
Diffstat (limited to 'ui/lib')
-rw-r--r-- | ui/lib/icon-factory.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/lib/icon-factory.js b/ui/lib/icon-factory.js index c16507527..45be47b7a 100644 --- a/ui/lib/icon-factory.js +++ b/ui/lib/icon-factory.js @@ -43,7 +43,7 @@ IconFactory.prototype.generateNewIdenticon = function (address, diameter) { // util function iconExistsFor (address) { - return (address in contractMap) && isValidAddress(address) && ('logo' in contractMap[address]) + return (contractMap.address) && isValidAddress(address) && (contractMap[address].logo) } function imageElFor (address) { |