aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/info.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-07-22 02:30:57 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-07-22 02:30:57 +0800
commit7b85802a0fede74217dd702ddda9bea1154517eb (patch)
tree055d903420fb1e04bc01d8bc542b389581ca4b41 /ui/app/info.js
parent4a9d5b1c258912acedd6f1e89fb632526d9c910b (diff)
parent6658bea8d444281491718f8eee7bc3ae42f91b69 (diff)
downloadtangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar
tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar.gz
tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar.bz2
tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar.lz
tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar.xz
tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar.zst
tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.zip
Merge branch 'master' into usd-conversion
Diffstat (limited to 'ui/app/info.js')
-rw-r--r--ui/app/info.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/app/info.js b/ui/app/info.js
index d97998fd7..4e540bd03 100644
--- a/ui/app/info.js
+++ b/ui/app/info.js
@@ -3,6 +3,7 @@ const Component = require('react').Component
const h = require('react-hyperscript')
const connect = require('react-redux').connect
const actions = require('./actions')
+const extension = require('../../app/scripts/lib/extension')
module.exports = connect(mapStateToProps)(InfoScreen)
@@ -19,7 +20,7 @@ InfoScreen.prototype.render = function () {
var state = this.props
var manifest
try {
- manifest = chrome.runtime.getManifest()
+ manifest = extension.runtime.getManifest()
} catch (e) {
manifest = { version: '2.0.0' }
}
@@ -105,7 +106,7 @@ InfoScreen.prototype.render = function () {
h('a.info', {
target: '_blank',
style: { width: '85vw' },
- onClick () { chrome.tabs.create({url: 'mailto:help@metamask.io?subject=Feedback'}) },
+ onClick () { extension.tabs.create({url: 'mailto:help@metamask.io?subject=Feedback'}) },
}, 'Email us any questions or comments!'),
]),
@@ -124,5 +125,5 @@ InfoScreen.prototype.render = function () {
}
InfoScreen.prototype.navigateTo = function (url) {
- chrome.tabs.create({ url })
+ extension.tabs.create({ url })
}