more toasty edge case fixes

This commit is contained in:
RossAscends
2025-05-21 19:03:26 +09:00
parent fe0db6ec78
commit da16c551f0
2 changed files with 11 additions and 5 deletions

View File

@@ -313,7 +313,7 @@ await new Promise((resolve) => {
}
});
showLoader();
//showLoader(); <-- must wait for poweruser (called from firstinit()), so moved it in there
// Configure toast library:
toastr.options.escapeHtml = true; // Prevent raw HTML inserts
@@ -990,6 +990,7 @@ async function firstLoadInit() {
await initPresetManager();
await getSystemMessages();
await getSettings();
showLoader();
initKeyboard();
initDynamicStyles();
initTags();
@@ -7595,8 +7596,6 @@ export async function getSettings() {
// Apply theme toggles from power user settings
applyPowerUserSettings();
toastr.options.positionClass = power_user.toastr_position; // Where to position the toast container
// Load character tags
loadTagsSettings(settings);