web/Omnibox: automatically start saving after link prefill

This commit is contained in:
wukko 2025-05-23 20:51:44 +06:00
parent add0ab4adf
commit 2c10ba7efa
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -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 });
}
});