aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/background.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-09-07 01:27:11 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-09-07 01:27:11 +0800
commit50f0624ea800b0b763f577171e451495c16cd6e9 (patch)
treec6bcdb78c861e079231e9ca6b7c9259cebfadc58 /app/scripts/background.js
parent41632114c0ec8e92d7594a41fec4dfd0f9d7f832 (diff)
downloadtangerine-wallet-browser-50f0624ea800b0b763f577171e451495c16cd6e9.tar
tangerine-wallet-browser-50f0624ea800b0b763f577171e451495c16cd6e9.tar.gz
tangerine-wallet-browser-50f0624ea800b0b763f577171e451495c16cd6e9.tar.bz2
tangerine-wallet-browser-50f0624ea800b0b763f577171e451495c16cd6e9.tar.lz
tangerine-wallet-browser-50f0624ea800b0b763f577171e451495c16cd6e9.tar.xz
tangerine-wallet-browser-50f0624ea800b0b763f577171e451495c16cd6e9.tar.zst
tangerine-wallet-browser-50f0624ea800b0b763f577171e451495c16cd6e9.zip
Replace chrome with generalized browser API.
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r--app/scripts/background.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js
index 91c09629c..21a5eea65 100644
--- a/app/scripts/background.js
+++ b/app/scripts/background.js
@@ -37,8 +37,8 @@ function showUnconfirmedTx (txParams, txData, onTxDoneCb) {
// On first install, open a window to MetaMask website to how-it-works.
-chrome.runtime.onInstalled.addListener(function (object) {
- chrome.tabs.create({url: 'https://metamask.io/#how-it-works'})
+extension.runtime.onInstalled.addListener(function (object) {
+ extension.tabs.create({url: 'https://metamask.io/#how-it-works'})
})
//