forked from mirrors/gecko-dev
Bug 1826299 - Use safe navigator for feature callout themes. r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D175349
This commit is contained in:
parent
c311ff43f1
commit
a1422d972b
1 changed files with 1 additions and 1 deletions
|
|
@ -1064,7 +1064,7 @@ export class FeatureCallout {
|
|||
for (const name of FeatureCallout.themePropNames) {
|
||||
this._setThemeVariable(
|
||||
`--fc-${name}-${type}`,
|
||||
scheme?.[name] || this.theme.all[name]
|
||||
scheme?.[name] || this.theme.all?.[name]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue