Fix: Resolve type errors and cleanup window.location.reload calls

This commit is contained in:
Scott Idem
2026-01-22 20:18:29 -05:00
parent c81ce50a00
commit a8e9c39ac6
5 changed files with 57 additions and 52 deletions

View File

@@ -492,7 +492,7 @@ class:to-90%={$ae_sess.show_help_tech} -->
goto('/', { invalidateAll: true });
// window.location.reload(true);
// window.location.reload();
} else {
// Confirm before clearing
if (
@@ -515,7 +515,7 @@ class:to-90%={$ae_sess.show_help_tech} -->
indexedDB.deleteDatabase('ae_posts_db'); // Posts module
indexedDB.deleteDatabase('ae_sponsorships_db'); // Sponsorships module
window.location.reload(true);
window.location.reload();
}
// This does not seem to work fast enough or something?