revert: miss used 'fix: clear translation button error without aborting'
Some checks are pending
Build / node (22.x) (push) Waiting to run
Build / extension (22.x) (push) Waiting to run
Build / bun (push) Waiting to run

This commit is contained in:
Toil 2026-09-26 10:56:21 +03:00
parent 2285a78042
commit 018ead58be
No known key found for this signature in database
GPG key ID: 57248E2819D32070

View file

@ -72,7 +72,6 @@ export async function handleTranslationButtonCommand(
// A click on an errored, idle button only clears the error.
if (deps.currentStatus === "error" && !deps.currentLoading) {
deps.transformBtn("none", t("translateVideo"));
return;
}
if (deps.currentStatus !== "none" || deps.currentLoading) {