(window as any) chrome sidebarAction

This commit is contained in:
Kyle Spearrin 2017-12-05 17:18:20 -05:00
parent 9149b453e1
commit c3e836e750
1 changed files with 1 additions and 1 deletions

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() {