Skip to content

Commit

Permalink
fix(modals): add timeout for observer
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyurec committed Mar 6, 2023
1 parent 4c03277 commit 26500ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export const pluginLoad = async () => {
if (!isThemeChosen()) {
return;
}
modalObserverLoad();
runThemeStuff();
}

Expand Down Expand Up @@ -114,6 +113,7 @@ const runThemeStuff = async () => {
}, 500);

setTimeout(() => {
modalObserverLoad();
tweakSettingsLoad();
}, 1000);
}
Expand Down

0 comments on commit 26500ce

Please sign in to comment.