mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 10:50:42 +00:00
Fix key shortcut to select input field
This commit is contained in:
parent
9c8d9423fc
commit
507d78e17f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user