aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/buy-button-subview.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/buy-button-subview.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/buy-button-subview.js')
-rw-r--r--ui/app/components/buy-button-subview.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/app/components/buy-button-subview.js b/ui/app/components/buy-button-subview.js
index 19279d1f6..2b1675b6d 100644
--- a/ui/app/components/buy-button-subview.js
+++ b/ui/app/components/buy-button-subview.js
@@ -5,7 +5,6 @@ const connect = require('react-redux').connect
const actions = require('../actions')
const CoinbaseForm = require('./coinbase-form')
const ShapeshiftForm = require('./shapeshift-form')
-const extension = require('extensionizer')
const Loading = require('./loading')
const TabBar = require('./tab-bar')
@@ -142,7 +141,7 @@ BuyButtonSubview.prototype.formVersionSubview = function () {
}
BuyButtonSubview.prototype.navigateTo = function (url) {
- extension.tabs.create({ url })
+ global.platform.openWindow({ url })
}
BuyButtonSubview.prototype.backButtonContext = function () {