mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Do not trigger how-to-video on anything but install.
This commit is contained in:
parent
7fd0ddd078
commit
36759b3238
@ -37,8 +37,10 @@ function showUnconfirmedTx (txParams, txData, onTxDoneCb) {
|
|||||||
|
|
||||||
// On first install, open a window to MetaMask website to how-it-works.
|
// On first install, open a window to MetaMask website to how-it-works.
|
||||||
|
|
||||||
extension.runtime.onInstalled.addListener(function (object) {
|
extension.runtime.onInstalled.addListener(function (details) {
|
||||||
extension.tabs.create({url: 'https://metamask.io/#how-it-works'})
|
if (details.reason === 'install') {
|
||||||
|
extension.tabs.create({url: 'https://metamask.io/#how-it-works'})
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user