diff options
author | Thomas Huang <thomas.b.huang@gmail.com> | 2019-03-05 07:47:07 +0800 |
---|---|---|
committer | Thomas Huang <thomas.b.huang@gmail.com> | 2019-03-05 07:47:48 +0800 |
commit | 8e99a537ca979789edf00f7e47f78c06af12df3b (patch) | |
tree | 6571b7e13c6c9a0b60c5dbead1e7557bb613a38a /app/scripts/background.js | |
parent | 5a8221253e3555370c6ad5431def5320463a6839 (diff) | |
download | tangerine-wallet-browser-8e99a537ca979789edf00f7e47f78c06af12df3b.tar tangerine-wallet-browser-8e99a537ca979789edf00f7e47f78c06af12df3b.tar.gz tangerine-wallet-browser-8e99a537ca979789edf00f7e47f78c06af12df3b.tar.bz2 tangerine-wallet-browser-8e99a537ca979789edf00f7e47f78c06af12df3b.tar.lz tangerine-wallet-browser-8e99a537ca979789edf00f7e47f78c06af12df3b.tar.xz tangerine-wallet-browser-8e99a537ca979789edf00f7e47f78c06af12df3b.tar.zst tangerine-wallet-browser-8e99a537ca979789edf00f7e47f78c06af12df3b.zip |
Simplify
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r-- | app/scripts/background.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js index 099406c70..189858a1d 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -448,7 +448,7 @@ function setupController (initState, initLangCode) { function triggerUi () { extension.tabs.query({ active: true }, tabs => { const currentlyActiveMetamaskTab = Boolean(tabs.find(tab => openMetamaskTabsIDs[tab.id])) - if ((!popupIsOpen || notificationIsOpen) && !currentlyActiveMetamaskTab) { + if (!popupIsOpen && !currentlyActiveMetamaskTab) { notificationManager.showPopup() notificationIsOpen = true } |