Fix search shortcut #719
This commit is contained in:
parent
429f0be675
commit
d103c81df1
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ function setupSearchBoxes() {
|
|||
|
||||
document.addEventListener("keydown", (event) => {
|
||||
if (['INPUT', 'TEXTAREA'].includes(document.activeElement.tagName)) return;
|
||||
if (event.key != "s") return;
|
||||
if (event.code != "KeyS") return;
|
||||
|
||||
inputElement.focus();
|
||||
event.preventDefault();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue