mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-07 09:31:31 +01:00
wait to reload popup
This commit is contained in:
parent
260bc68251
commit
0df3208d45
@ -113,7 +113,8 @@ export class AppComponent implements OnInit {
|
||||
properties: { label: msg.label },
|
||||
});
|
||||
} else if (msg.command === 'reloadProcess') {
|
||||
BrowserApi.reloadExtension(window, true);
|
||||
// Wait to make sure background has reloaded first.
|
||||
window.setTimeout(() => BrowserApi.reloadExtension(window, true), 2000);
|
||||
} else {
|
||||
msg.webExtSender = sender;
|
||||
this.broadcasterService.send(msg);
|
||||
|
Loading…
Reference in New Issue
Block a user