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:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user