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 | |
parent | fb2565c9d1f6c3cc6601c0f317fe10651ad21097 (diff) | |
download | dexon-wallet-9d2844c7128c79314529e163b473353d42200e9c.tar.gz dexon-wallet-9d2844c7128c79314529e163b473353d42200e9c.tar.zst dexon-wallet-9d2844c7128c79314529e163b473353d42200e9c.zip |
remove more in operators
-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 c1650752..45be47b7 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) { |