web/Omnibox: allow input while antibot check is ongoing & fix spinner

This commit is contained in:
wukko
2024-09-20 15:20:25 +06:00
parent 8162877a47
commit c99240339d
2 changed files with 17 additions and 10 deletions

View File

@@ -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: ">>",