searxngRebrandZaclys/searx/static/themes/simple/src/js/main
Markus Heiser 882282d0e9 [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>
2022-06-14 15:14:19 +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 [fix] keyboard.js - highlightResult: don't steal focus on click event 2022-06-14 15:14:19 +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 [simple theme] replace Image_layout.js with flexbox CS impl. 2022-02-26 22:31:47 +01:00
search.js UX fix: when the user clicks on the search input, don't move the cursor at the end 2022-06-13 21:35:14 +02:00