fix: enter quick restart not working on test page (#5227)

This commit is contained in:
Christian Fehmer 2024-03-15 10:41:16 +01:00 committed by GitHub
parent 1686287f93
commit ed9fff5d41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -969,7 +969,8 @@ $(document).on("keydown", async (event) => {
activeElement?.tagName === "A" ||
activeElement?.classList.contains("button") ||
activeElement?.classList.contains("textButton") ||
activeElement?.tagName === "INPUT";
(activeElement?.tagName === "INPUT" &&
activeElement?.id !== "wordsInput");
if (activeElementIsButton) return;