[feat](trx-frontend-http): add F hotkey to focus frequency input

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
2026-03-28 14:34:52 +01:00
parent 3003cf0df6
commit 171a1f4bbc
2 changed files with 9 additions and 0 deletions
@@ -10534,6 +10534,14 @@ window.addEventListener("keydown", (event) => {
return;
}
// F — focus frequency input
if (key === "f" && !event.ctrlKey && !event.metaKey && !event.altKey && !shouldIgnoreGlobalShortcut(event.target)) {
event.preventDefault();
const fi = document.getElementById("freq");
if (fi) { fi.focus(); fi.select(); }
return;
}
if (event.ctrlKey || event.metaKey || event.altKey) return;
if (shouldIgnoreGlobalShortcut(event.target)) return;