Merge pull request #636 from MetaMask/how-it-works-bug
How it works now displays only on install
This commit is contained in:
commit
153b6b73d8
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
- Fix bug where pending transactions from Test net (or other networks) show up In Main net.
|
- Fix bug where pending transactions from Test net (or other networks) show up In Main net.
|
||||||
- Add fiat conversion values to more views.
|
- Add fiat conversion values to more views.
|
||||||
- On fresh install, open a new tab with the MetaMask Introduction video.
|
- On fresh install, open a new tab with the MetaMask Introduction video. Does not open on update.
|
||||||
- Block negative values from transactions.
|
- Block negative values from transactions.
|
||||||
- Fixed a memory leak.
|
- Fixed a memory leak.
|
||||||
- MetaMask logo now renders as super lightweight SVG, improving compatibility and performance.
|
- MetaMask logo now renders as super lightweight SVG, improving compatibility and performance.
|
||||||
|
|
|
@ -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