mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Add setting for autocomplete search
This commit is contained in:
parent
b9f4f3d2c7
commit
94ed104e7c
8 changed files with 30 additions and 3 deletions
2
searx/static/themes/simple/js/searxng.min.js
vendored
2
searx/static/themes/simple/js/searxng.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
params._Select(suggestion);
|
||||
// Ctrl + Click = Only place the suggestion in the search bar, no auto search.
|
||||
if(!e.ctrlKey){
|
||||
if(!e.ctrlKey && searxng.settings.search_on_autocomplete_click){
|
||||
submitIfQuery();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue