From 43f5fd07163bce1e4e15f41aeaf528b032a6a079 Mon Sep 17 00:00:00 2001 From: Thomas Huang Date: Mon, 11 Mar 2019 12:37:47 -0500 Subject: [PATCH] Nonmultiple notifications for batch txs --- app/scripts/background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }