diff options
Diffstat (limited to 'src/lib/Landing.svelte')
| -rw-r--r-- | src/lib/Landing.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Landing.svelte b/src/lib/Landing.svelte index 5e2d4ccd..8fb8f72b 100644 --- a/src/lib/Landing.svelte +++ b/src/lib/Landing.svelte @@ -94,7 +94,7 @@ <span class="medium-text"> <a href={`https://anilist.co/api/v2/oauth/authorize?client_id=${env.PUBLIC_ANILIST_CLIENT_ID}&redirect_uri=${env.PUBLIC_ANILIST_REDIRECT_URI}&response_type=code`} - on:click={async () => { + onclick={async () => { await localforage.setItem( 'redirect', window.location.origin + window.location.pathname + window.location.search |