diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-06-14 15:02:31 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-06-14 15:14:19 +0200 |
commit | 882282d0e90f16370f435e5b3e9d36083b982e19 (patch) | |
tree | 0d4d61886d169298cdacd0ad81613bb0aaa412c1 /LICENSE | |
parent | 7bc3d17b1196f6169b7f98008aa8ec34963ed55b (diff) | |
download | searxng-882282d0e90f16370f435e5b3e9d36083b982e19.tar.gz searxng-882282d0e90f16370f435e5b3e9d36083b982e19.zip |
[fix] keyboard.js - highlightResult: don't steal focus on click event
For keyboard navigation the highlightResult() function in keyboard.js steals the
focus. On a mouse click event (non keyboard action) the focus should resist
where it is, otherwise a marked region gets lost. This is the reason why text
can't be selected when using simple theme with JS enabled.
Closes: https://github.com/searxng/searxng/issues/794
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions