From 71ea3239a75275fdf58d61c07c67562b10fd369f Mon Sep 17 00:00:00 2001 From: wukko Date: Fri, 23 May 2025 22:44:05 +0600 Subject: [PATCH] web/Omnibox: download right away after pressing paste cuz turnstile is awaited in api lib now --- web/src/components/save/Omnibox.svelte | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/web/src/components/save/Omnibox.svelte b/web/src/components/save/Omnibox.svelte index a1dd42e3..f45f54a7 100644 --- a/web/src/components/save/Omnibox.svelte +++ b/web/src/components/save/Omnibox.svelte @@ -92,10 +92,8 @@ if (linkMatch) { $link = linkMatch[0].split(',')[0]; - if (!isBotCheckOngoing) { - await tick(); // wait for button to render - savingHandler({ url: $link }); - } + await tick(); // wait for button to render + savingHandler({ url: $link }); } };