Standardize DB interfaces with dependency tracking comments and clean up legacy location.reload() arguments
This commit is contained in:
@@ -974,7 +974,7 @@
|
||||
title="Reload and clear the page cache"
|
||||
onclick={() => {
|
||||
clear_idb();
|
||||
window.location.reload(true);
|
||||
window.location.reload();
|
||||
}}
|
||||
>
|
||||
<!-- <span class="fas fa-sync mx-1"></span> -->
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
<button
|
||||
type="button"
|
||||
onclick={() => {
|
||||
window.location.reload(true);
|
||||
window.location.reload();
|
||||
}}
|
||||
class="btn btn-sm m-1 preset-tonal-surface hover:variant-outline-warning text-error-300 hover:text-error-800 transition-all"
|
||||
title="Reload page to clear some caches and check for updates"
|
||||
@@ -103,7 +103,7 @@
|
||||
alert(
|
||||
'Local and Session Storage cleared. The page should now refresh on its own.'
|
||||
);
|
||||
window.location.reload(true);
|
||||
window.location.reload();
|
||||
}}
|
||||
class="btn btn-sm m-1 p-1 preset-tonal-surface hover:variant-outline-warning text-error-300 hover:text-error-800 transition-all"
|
||||
title="Clear IDB, localStorage, and sessionStorage and then reload to clear the page cache"
|
||||
|
||||
Reference in New Issue
Block a user