1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Replace chrome with generalized browser API.

This commit is contained in:
Kevin Serrano 2016-09-06 10:27:11 -07:00
parent 41632114c0
commit 50f0624ea8

View File

@ -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'})
})
//