aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/account-info-link.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-04-01 09:04:13 +0800
committerkumavis <aaron@kumavis.me>2017-04-01 09:04:13 +0800
commitaa06183c64b79316a4622e25791c29e785c7bce0 (patch)
tree4711fb76510b379cd6b7bc3fb2e07e87a0ef8b8b /ui/app/components/account-info-link.js
parent810f5881f6ad9fea9bcb25ea1ccaf9cdeb2c744f (diff)
downloadtangerine-wallet-browser-aa06183c64b79316a4622e25791c29e785c7bce0.tar
tangerine-wallet-browser-aa06183c64b79316a4622e25791c29e785c7bce0.tar.gz
tangerine-wallet-browser-aa06183c64b79316a4622e25791c29e785c7bce0.tar.bz2
tangerine-wallet-browser-aa06183c64b79316a4622e25791c29e785c7bce0.tar.lz
tangerine-wallet-browser-aa06183c64b79316a4622e25791c29e785c7bce0.tar.xz
tangerine-wallet-browser-aa06183c64b79316a4622e25791c29e785c7bce0.tar.zst
tangerine-wallet-browser-aa06183c64b79316a4622e25791c29e785c7bce0.zip
ui - use global.platform for extension interaction
Diffstat (limited to 'ui/app/components/account-info-link.js')
-rw-r--r--ui/app/components/account-info-link.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/app/components/account-info-link.js b/ui/app/components/account-info-link.js
index 74bc7f40e..6526ab502 100644
--- a/ui/app/components/account-info-link.js
+++ b/ui/app/components/account-info-link.js
@@ -3,7 +3,6 @@ const h = require('react-hyperscript')
const inherits = require('util').inherits
const Tooltip = require('./tooltip')
const genAccountLink = require('../../lib/account-link')
-const extension = require('extensionizer')
module.exports = AccountInfoLink
@@ -35,7 +34,7 @@ AccountInfoLink.prototype.render = function () {
style: {
margin: '5px',
},
- onClick () { extension.tabs.create({ url }) },
+ onClick () { global.platform.openWindow({ url }) },
}),
]),
])