support using / to focus search input

- add an icon
This commit is contained in:
geoffrey45 committed 2022-05-24 13:29:08 +03:00
1 parent 5d0492d63a
commit 077939bbdc
3 files changed
+36 -18

No files matched your search

+5 -1
View File
@@ -64,11 +64,15 @@ export default function (queue: any) {
if (!key_down_fired) {
if (!ctrlKey) return;
e.preventDefault();
focusSearchBox();
key_down_fired = true;
}
}
case "/": {{
e.preventDefault();
focusSearchBox();
}}
}
});
}