mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
Uncomment closePopupIfOpen code.
This commit is contained in:
parent
cb8ea12db6
commit
64a82fd3da
@ -70,10 +70,10 @@ async function start () {
|
||||
|
||||
|
||||
function closePopupIfOpen (windowType) {
|
||||
// if (windowType !== ENVIRONMENT_TYPE_NOTIFICATION) {
|
||||
if (windowType !== ENVIRONMENT_TYPE_NOTIFICATION) {
|
||||
// should close only chrome popup
|
||||
// notificationManager.closePopup()
|
||||
// }
|
||||
notificationManager.closePopup()
|
||||
}
|
||||
}
|
||||
|
||||
function displayCriticalError (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user