1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

use chrome.runtime.reload

This commit is contained in:
Kyle Spearrin
2019-03-05 15:05:04 -05:00
parent db8624a6b7
commit 3b6f7bb941
3 changed files with 11 additions and 3 deletions

View File

@@ -113,8 +113,8 @@ export class AppComponent implements OnInit {
properties: { label: msg.label },
});
} else if (msg.command === 'reloadProcess') {
window.location.reload(true);
} else {
BrowserApi.reloadExtension(window, true);
} else {
msg.webExtSender = sender;
this.broadcasterService.send(msg);
}