mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
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.
|
||||
- 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.
|
||||
- Fixed a memory leak.
|
||||
- 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.
|
||||
|
||||
extension.runtime.onInstalled.addListener(function (object) {
|
||||
extension.tabs.create({url: 'https://metamask.io/#how-it-works'})
|
||||
extension.runtime.onInstalled.addListener(function (details) {
|
||||
if (details.reason === 'install') {
|
||||
extension.tabs.create({url: 'https://metamask.io/#how-it-works'})
|
||||
}
|
||||
})
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user