diff options
author | Thomas Huang <thomas.b.huang@gmail.com> | 2019-03-12 01:37:47 +0800 |
---|---|---|
committer | Thomas Huang <thomas.b.huang@gmail.com> | 2019-03-12 01:37:47 +0800 |
commit | 43f5fd07163bce1e4e15f41aeaf528b032a6a079 (patch) | |
tree | a753f5c1a7a1d394c08101bd47e8e368f304d77b | |
parent | b8f143f1c3bcc760787c459e218e6bbb08162058 (diff) | |
download | tangerine-wallet-browser-43f5fd07163bce1e4e15f41aeaf528b032a6a079.tar tangerine-wallet-browser-43f5fd07163bce1e4e15f41aeaf528b032a6a079.tar.gz tangerine-wallet-browser-43f5fd07163bce1e4e15f41aeaf528b032a6a079.tar.bz2 tangerine-wallet-browser-43f5fd07163bce1e4e15f41aeaf528b032a6a079.tar.lz tangerine-wallet-browser-43f5fd07163bce1e4e15f41aeaf528b032a6a079.tar.xz tangerine-wallet-browser-43f5fd07163bce1e4e15f41aeaf528b032a6a079.tar.zst tangerine-wallet-browser-43f5fd07163bce1e4e15f41aeaf528b032a6a079.zip |
Nonmultiple notifications for batch txs
-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 189858a1d..8cc60be80 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 && !currentlyActiveMetamaskTab) { + if (!popupIsOpen && !currentlyActiveMetamaskTab && !notificationIsOpen) { notificationManager.showPopup() notificationIsOpen = true } |