Fix: Resolve type errors and cleanup window.location.reload calls
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user