diff options
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.js | 3 |
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 }) }, }), ]), ]) |