aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-10-04 18:58:17 +0800
committerGitHub <noreply@github.com>2018-10-04 18:58:17 +0800
commitb2939e86277a548ea05c83147ca913b8bcf0be65 (patch)
tree80ec7c5ebe5790ecd96bd647bb2fd361973e6d4d
parent28d7b9ba954f6aa8eb764ab8f11b2b45d739b924 (diff)
parentba39fbeb49c0691885a92e3df70b3df912144531 (diff)
downloadtangerine-wallet-browser-b2939e86277a548ea05c83147ca913b8bcf0be65.tar
tangerine-wallet-browser-b2939e86277a548ea05c83147ca913b8bcf0be65.tar.gz
tangerine-wallet-browser-b2939e86277a548ea05c83147ca913b8bcf0be65.tar.bz2
tangerine-wallet-browser-b2939e86277a548ea05c83147ca913b8bcf0be65.tar.lz
tangerine-wallet-browser-b2939e86277a548ea05c83147ca913b8bcf0be65.tar.xz
tangerine-wallet-browser-b2939e86277a548ea05c83147ca913b8bcf0be65.tar.zst
tangerine-wallet-browser-b2939e86277a548ea05c83147ca913b8bcf0be65.zip
Merge pull request #5412 from whymarrh/after-install-steps
Don't open MetaMask website after install
-rw-r--r--app/scripts/background.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js
index ae450352e..0343e134c 100644
--- a/app/scripts/background.js
+++ b/app/scripts/background.js
@@ -38,7 +38,6 @@ const {
const firstTimeState = Object.assign({}, rawFirstTimeState, global.METAMASK_TEST_CONFIG)
const STORAGE_KEY = 'metamask-config'
-const METAMASK_DEBUG = process.env.METAMASK_DEBUG
log.setDefaultLevel(process.env.METAMASK_DEBUG ? 'debug' : 'warn')
@@ -462,11 +461,3 @@ function showWatchAssetUi () {
}
)
}
-
-// On first install, open a window to MetaMask website to how-it-works.
-extension.runtime.onInstalled.addListener(function (details) {
- if ((details.reason === 'install') && (!METAMASK_DEBUG)) {
- extension.tabs.create({url: 'https://metamask.io/#how-it-works'})
- }
-})
-