diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 7d484d01..bcc35163 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,10 +1,8 @@ @@ -435,37 +408,43 @@ onMount(() => { slotFooter={($ae_loc.iframe ? 'iframe' : '')} > - - - - + {#snippet header()} + + + + {#snippet lead()} + + + + + {/snippet} + + + + {#snippet trail()} - - - - - - - - - + - + {/snippet} + + + + {/snippet} - + {@render children?.()} - - - + {#snippet footer()} - { + + + + { console.log('Debug ae_loc:', $ae_loc); $ae_loc.debug = !$ae_loc?.debug; }} - id="AE-Quick-Debug" - class="ae_quick_debug btn btn-sm variant-glass-surface transition-all" - title="Turn debug content and styles off and on" - > - π - - - + id="AE-Quick-Debug" + class="ae_quick_debug btn btn-sm variant-glass-surface transition-all" + title="Turn debug content and styles off and on" + > + π + + + + {/snippet} @@ -520,11 +501,13 @@ onMount(() => { You do not have access to this site. You may need a passcode and or URL site key. { + onclick={() => { localStorage.clear(); sessionStorage.clear(); alert('Local and Session Storage cleared. The page should now refresh on its own.'); - window.location.reload(true); + // window.location.reload({forceGet: true}); + // window.location.reload(true); + window.location.reload(); }} class="btn btn-sm m-1 variant-glass-surface hover:variant-outline-warning hover:variant-glass-warning text-error-400 hover:text-error-800 transition-all" title="Reload and clear the page cache"
You do not have access to this site. You may need a passcode and or URL site key.