From 671ca33abb93fafeb55a18543e81942c5963da8e Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 23 Aug 2016 15:44:50 -0700 Subject: Close notification on opening main UI --- ui/app/reducers/app.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'ui/app/reducers/app.js') 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) - }) -} -- cgit v1.2.3