searxng/searx/static/themes/simple/src/js/main
Markus Heiser a987672340 [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>
2023-09-12 20:30:50 +02:00
..
00_toolkit.js [fix] loading of external resources in JS client toolkit 2022-05-10 22:40:46 +02:00
infinite_scroll.js [mod] client_settings: pass settings from server to JS client 2022-05-07 17:58:30 +02:00
keyboard.js [mod] improve handling of the hotkeys 2023-09-12 20:30:50 +02:00
mapresult.js [fix] eslint --fix 2021-12-14 07:31:58 +01:00
preferences.js [mod] client_settings: pass settings from server to JS client 2022-05-07 17:58:30 +02:00
results.js [mod] improve handling of the hotkeys 2023-09-12 20:30:50 +02:00
search.js [mod] Ignore autocomplete_min on queries that include '!' (!bang) 2023-04-15 18:54:47 +02:00