aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Error/LogInRestricted.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Error/LogInRestricted.svelte')
-rw-r--r--src/lib/Error/LogInRestricted.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Error/LogInRestricted.svelte b/src/lib/Error/LogInRestricted.svelte
index 54ea5ee1..ab48f180 100644
--- a/src/lib/Error/LogInRestricted.svelte
+++ b/src/lib/Error/LogInRestricted.svelte
@@ -8,7 +8,7 @@
<div class="message">
Please <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