From 36759b3238be867de02d1e6177b0a1c96ac5125c Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Fri, 9 Sep 2016 14:23:04 -0700 Subject: [PATCH 1/2] Do not trigger how-to-video on anything but install. --- app/scripts/background.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/scripts/background.js b/app/scripts/background.js index 21a5eea65..58228a41a 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -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'}) + } }) // From 5e38f48f411755e585c0f2add80a748424288db0 Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Fri, 9 Sep 2016 14:24:16 -0700 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4548480ec..9d89c2438 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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.