[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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user