From 2c10ba7efa6718f73d0f705709d1bfc9bc05d12f Mon Sep 17 00:00:00 2001 From: wukko Date: Fri, 23 May 2025 20:51:44 +0600 Subject: [PATCH] web/Omnibox: automatically start saving after link prefill --- web/src/components/save/Omnibox.svelte | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/src/components/save/Omnibox.svelte b/web/src/components/save/Omnibox.svelte index 36138521..a1dd42e3 100644 --- a/web/src/components/save/Omnibox.svelte +++ b/web/src/components/save/Omnibox.svelte @@ -69,6 +69,11 @@ // clear hash and query to prevent bookmarking unwanted links if (browser) goto("/", { replaceState: true }); + + // clear link prefill to avoid extra effects + linkPrefill = ""; + + savingHandler({ url: $link }); } });