diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-08-24 06:44:50 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-08-24 06:44:50 +0800 |
commit | 671ca33abb93fafeb55a18543e81942c5963da8e (patch) | |
tree | 7a9ae4ac72b29e6365e10505a5c5307ad6638c9a /ui | |
parent | b3887ffd0a33096ef63fd4bbba9b5ff559775b3e (diff) | |
download | tangerine-wallet-browser-671ca33abb93fafeb55a18543e81942c5963da8e.tar tangerine-wallet-browser-671ca33abb93fafeb55a18543e81942c5963da8e.tar.gz tangerine-wallet-browser-671ca33abb93fafeb55a18543e81942c5963da8e.tar.bz2 tangerine-wallet-browser-671ca33abb93fafeb55a18543e81942c5963da8e.tar.lz tangerine-wallet-browser-671ca33abb93fafeb55a18543e81942c5963da8e.tar.xz tangerine-wallet-browser-671ca33abb93fafeb55a18543e81942c5963da8e.tar.zst tangerine-wallet-browser-671ca33abb93fafeb55a18543e81942c5963da8e.zip |
Close notification on opening main UI
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/reducers/app.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index 7bd1dfd1f..132e73f69 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -253,7 +253,7 @@ function reduceApp (state, action) { }) } else { - closePopupIfOpen() + notification.closePopup() return extend(appState, { transForward: false, @@ -520,9 +520,3 @@ function indexForPending (state, txId) { return idx } -function closePopupIfOpen() { - notification.getPopup((popup) => { - if (!popup) return - extension.windows.remove(popup.id, console.error) - }) -} |