mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-25 11:02:13 +02:00
web/Omnibox: download right away after pressing paste
cuz turnstile is awaited in api lib now
This commit is contained in:
parent
c08352bda9
commit
71ea3239a7
@ -92,11 +92,9 @@
|
|||||||
if (linkMatch) {
|
if (linkMatch) {
|
||||||
$link = linkMatch[0].split(',')[0];
|
$link = linkMatch[0].split(',')[0];
|
||||||
|
|
||||||
if (!isBotCheckOngoing) {
|
|
||||||
await tick(); // wait for button to render
|
await tick(); // wait for button to render
|
||||||
savingHandler({ url: $link });
|
savingHandler({ url: $link });
|
||||||
}
|
}
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const changeDownloadMode = (mode: DownloadModeOption) => {
|
const changeDownloadMode = (mode: DownloadModeOption) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user