Fix key shortcut to select input field

This commit is contained in:
Arne Keller 2021-07-05 09:28:03 +02:00
parent 9c8d9423fc
commit 507d78e17f

View File

@ -20,7 +20,7 @@ function handleKey(e: KeyboardEvent) {
element = document.getElementById("last-step");
}
} else if (e.key === "/") {
document.getElementById("inputField")!.focus();
document.getElementById("term-input-field")!.focus();
e.preventDefault();
}
if (element !== null) {