mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 19:00:48 +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");
|
element = document.getElementById("last-step");
|
||||||
}
|
}
|
||||||
} else if (e.key === "/") {
|
} else if (e.key === "/") {
|
||||||
document.getElementById("inputField")!.focus();
|
document.getElementById("term-input-field")!.focus();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
if (element !== null) {
|
if (element !== null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user