mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
window reload if there is a sidebar, resolves #900
This commit is contained in:
@@ -179,7 +179,9 @@ export default class MainBackground {
|
||||
this.storageService, this.appIdService);
|
||||
this.systemService = new SystemService(this.storageService, this.lockService,
|
||||
this.messagingService, this.platformUtilsService, () => {
|
||||
BrowserApi.reloadExtension(window, false);
|
||||
const forceWindowReload = this.platformUtilsService.isSafari() ||
|
||||
this.platformUtilsService.isFirefox() || this.platformUtilsService.isOpera();
|
||||
BrowserApi.reloadExtension(forceWindowReload ? window : null);
|
||||
return Promise.resolve();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user