From 507d78e17f878686dd32c497aaf0b94545d59d4f Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Mon, 5 Jul 2021 09:28:03 +0200 Subject: [PATCH] Fix key shortcut to select input field --- frontend/src/key-shortcuts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/key-shortcuts.ts b/frontend/src/key-shortcuts.ts index e002d9b..433c75c 100644 --- a/frontend/src/key-shortcuts.ts +++ b/frontend/src/key-shortcuts.ts @@ -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) {