diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2023-09-11 20:18:56 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-09-12 20:30:50 +0200 |
commit | a987672340304b88973c8504e644d9a1ae98f4e6 (patch) | |
tree | 0569fb4f08fa2446fa4f5b5606f86fe8a15079aa /searx/static/themes/simple/js | |
parent | e6b160da620388c0d08f2092d309cfe2d48b9695 (diff) | |
download | searxng-a987672340304b88973c8504e644d9a1ae98f4e6.tar.gz searxng-a987672340304b88973c8504e644d9a1ae98f4e6.zip |
[mod] improve handling of the hotkeys
- KeyboardEvent: keyCode property is depricated, replaced by key property [2]
- the check for ifDetailOpened is not necessary, because the hotkeys are not
only applicable to image-results, by example:
`!goi !go !scc hello`
- Key bindings like h for help are to be used in general (not only in vim-mode)
[1] https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
[2] https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static/themes/simple/js')
0 files changed, 0 insertions, 0 deletions