From 1cd57fc7ff036ce7ea4769a834a73c3afb77dd34 Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Sat, 14 Sep 2024 19:12:15 +0000 Subject: [PATCH] web/Omnibox: mark url input as ready once turnstile is loaded --- web/src/components/save/Omnibox.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/save/Omnibox.svelte b/web/src/components/save/Omnibox.svelte index d73b9474..a12b63b0 100644 --- a/web/src/components/save/Omnibox.svelte +++ b/web/src/components/save/Omnibox.svelte @@ -11,7 +11,7 @@ import { link } from "$lib/state/omnibox"; import { updateSetting } from "$lib/state/settings"; - import { turnstileLoaded } from "$lib/state/turnstile"; + import { turnstileCreated } from "$lib/state/turnstile"; import type { Optional } from "$lib/types/generic"; import type { DownloadModeOption } from "$lib/types/settings"; @@ -58,7 +58,7 @@ } $: if (env.TURNSTILE_KEY) { - if ($turnstileLoaded) { + if ($turnstileCreated) { isDisabled = false; } else { isDisabled = true;