diff options
author | Dan Finlay <somniac@me.com> | 2016-07-22 01:45:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-22 01:45:32 +0800 |
commit | 6658bea8d444281491718f8eee7bc3ae42f91b69 (patch) | |
tree | 1bfc13870221528af34df95e5f64f0d73b75aa16 /ui/app/components | |
parent | cdd7e40545af8e62fc586f8da120e8d05ca90653 (diff) | |
download | tangerine-wallet-browser-6658bea8d444281491718f8eee7bc3ae42f91b69.tar.gz tangerine-wallet-browser-6658bea8d444281491718f8eee7bc3ae42f91b69.tar.zst tangerine-wallet-browser-6658bea8d444281491718f8eee7bc3ae42f91b69.zip |
Implement some cross-browser practices (#473)
* Add mozilla plugin key to manifest
* Move all chrome references into platform-checking module
Addresses #453
* Add chrome global back to linter blacklist
* Add tests
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/transaction-list-item.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/transaction-list-item.js b/ui/app/components/transaction-list-item.js index 78867fca4..796ba61ae 100644 --- a/ui/app/components/transaction-list-item.js +++ b/ui/app/components/transaction-list-item.js @@ -7,6 +7,7 @@ const addressSummary = require('../util').addressSummary const explorerLink = require('../../lib/explorer-link') const CopyButton = require('./copyButton') const vreme = new (require('vreme')) +const extension = require('../../../app/scripts/lib/extension') const TransactionIcon = require('./transaction-list-item-icon') @@ -49,7 +50,7 @@ TransactionListItem.prototype.render = function () { if (!transaction.hash || !isLinkable) return var url = explorerLink(transaction.hash, parseInt(network)) - chrome.tabs.create({ url }) + extension.tabs.create({ url }) }, style: { padding: '20px 0', |