diff --git a/UI/Base/Hotkeys.ts b/UI/Base/Hotkeys.ts index 5355840b8..0c9f6c6f4 100644 --- a/UI/Base/Hotkeys.ts +++ b/UI/Base/Hotkeys.ts @@ -22,8 +22,7 @@ export default class Hotkeys { >([]) private static textElementSelected(): boolean { - console.log(document.activeElement) - return document?.activeElement?.tagName?.toLowerCase() === "input" + return ["input", "textarea"].includes(document?.activeElement?.tagName?.toLowerCase()) } public static RegisterHotkey( key: (