1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-24 16:49:26 +01:00

(window as any) chrome sidebarAction

This commit is contained in:
Kyle Spearrin 2017-12-05 17:18:20 -05:00
parent 9149b453e1
commit c3e836e750

View File

@ -75,7 +75,7 @@ export default class MainBackground {
// Other fields
this.sidebarAction = (typeof opr !== 'undefined') && opr.sidebarAction ?
opr.sidebarAction : chrome.sidebarAction;
opr.sidebarAction : (window as any).chrome.sidebarAction;
}
private async buildContextMenu() {