1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00: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 // Other fields
this.sidebarAction = (typeof opr !== 'undefined') && opr.sidebarAction ? this.sidebarAction = (typeof opr !== 'undefined') && opr.sidebarAction ?
opr.sidebarAction : chrome.sidebarAction; opr.sidebarAction : (window as any).chrome.sidebarAction;
} }
private async buildContextMenu() { private async buildContextMenu() {