aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/background.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r--app/scripts/background.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js
index 6cb80244f..679c2a4e2 100644
--- a/app/scripts/background.js
+++ b/app/scripts/background.js
@@ -184,9 +184,7 @@ function setupController (initState) {
function triggerUi () {
extension.tabs.query({ active: true }, (tabs) => {
const currentlyActiveMetamaskTab = tabs.find(tab => openMetamaskTabsIDs[tab.id])
- if (!popupIsOpen && !currentlyActiveMetamaskTab) notificationManager.showPopup((notification) => {
- notifcationIsOpen = notification;
- });
+ if (!popupIsOpen && !currentlyActiveMetamaskTab) notificationManager.showPopup();
notifcationIsOpen = true;
})
}