web/Omnibox: allow input while antibot check is ongoing & fix spinner
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
export let url: string;
|
||||
export let disabled = false;
|
||||
export let loading = false;
|
||||
|
||||
$: buttonText = ">>";
|
||||
$: buttonAltText = $t("a11y.save.download");
|
||||
@@ -31,6 +32,7 @@
|
||||
|
||||
const changeDownloadButton = (state: DownloadButtonState) => {
|
||||
disabled = state !== "idle";
|
||||
loading = state === "think" || state === "check";
|
||||
|
||||
buttonText = {
|
||||
idle: ">>",
|
||||
|
||||
Reference in New Issue
Block a user