mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-24 18:42:09 +02:00
web/Omnibox: automatically start saving after link prefill
This commit is contained in:
parent
add0ab4adf
commit
2c10ba7efa
@ -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 });
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user