diff options
author | Jeffrey Tong <trigun0x2@gmail.com> | 2018-03-12 01:17:08 +0800 |
---|---|---|
committer | Jeffrey Tong <trigun0x2@gmail.com> | 2018-03-12 01:17:08 +0800 |
commit | bda493dc9dc7436e5169a3344d8a72eb3c8d48d8 (patch) | |
tree | 648fde9c7c9842f5b5980778c2101cfd041e848d /app/scripts/background.js | |
parent | aaef2aeefde39ce11ef07603fd1cb5d2cbb1e294 (diff) | |
download | tangerine-wallet-browser-bda493dc9dc7436e5169a3344d8a72eb3c8d48d8.tar tangerine-wallet-browser-bda493dc9dc7436e5169a3344d8a72eb3c8d48d8.tar.gz tangerine-wallet-browser-bda493dc9dc7436e5169a3344d8a72eb3c8d48d8.tar.bz2 tangerine-wallet-browser-bda493dc9dc7436e5169a3344d8a72eb3c8d48d8.tar.lz tangerine-wallet-browser-bda493dc9dc7436e5169a3344d8a72eb3c8d48d8.tar.xz tangerine-wallet-browser-bda493dc9dc7436e5169a3344d8a72eb3c8d48d8.tar.zst tangerine-wallet-browser-bda493dc9dc7436e5169a3344d8a72eb3c8d48d8.zip |
add comments that need clarification on naming convention
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r-- | app/scripts/background.js | 4 |
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; }) } |