diff --git a/ts/routes/deck-options/ParamsInput.svelte b/ts/routes/deck-options/ParamsInput.svelte
index ada8bcd9c..b323dfdfa 100644
--- a/ts/routes/deck-options/ParamsInput.svelte
+++ b/ts/routes/deck-options/ParamsInput.svelte
@@ -60,29 +60,33 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
clickTimeout = setTimeout(() => {
clickCount = 0;
}, UNLOCK_CLICK_TIMEOUT_MS);
+ } else {
+ taRef.focus();
}
}
- $: unlockEditWarning =
- clickCount >= UNLOCK_EDIT_COUNT
- ? tr.deckConfigManualParameterEditWarning()
- : "";
+ $: unlocked = clickCount >= UNLOCK_EDIT_COUNT;
+ $: unlockEditWarning = unlocked ? tr.deckConfigManualParameterEditWarning() : "";