fix(core): update

This commit is contained in:
Philipp Kunz 2021-03-28 22:14:25 +00:00
parent c915c3a713
commit 6411028376

View File

@ -17,7 +17,7 @@ export class CssManager {
this.domtoolsPromise.then(async (domtoolsArg) => { this.domtoolsPromise.then(async (domtoolsArg) => {
domtoolsArg.themeManager.themeObservable.subscribe(async (goBrightArg) => { domtoolsArg.themeManager.themeObservable.subscribe(async (goBrightArg) => {
this.goBright = goBrightArg; this.goBright = goBrightArg;
await domtoolsArg.domReady; await domtoolsArg.domReady.promise;
for (const bdTripletArg of this.bdVarTripletStore) { for (const bdTripletArg of this.bdVarTripletStore) {
document.body.style.setProperty( document.body.style.setProperty(
bdTripletArg.cssVarName, bdTripletArg.cssVarName,