mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Make eslint black and ymllint happy
This commit is contained in:
parent
1d969c53b2
commit
6a80f1acc7
3 changed files with 5 additions and 5 deletions
|
|
@ -14,11 +14,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
function autocomplete_onclick(e, suggestion, params) {
|
||||
|
||||
function autocomplete_onclick (e, suggestion, params) {
|
||||
params._Select(suggestion);
|
||||
// Ctrl + Click = Only place the suggestion in the search bar, no auto search.
|
||||
if(!e.ctrlKey && searxng.settings.search_on_autocomplete_click){
|
||||
if (!e.ctrlKey && searxng.settings.search_on_autocomplete_click){
|
||||
submitIfQuery();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue