diff options
Diffstat (limited to 'searx/static/themes')
-rw-r--r-- | searx/static/themes/simple/src/js/main/search.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/static/themes/simple/src/js/main/search.js b/searx/static/themes/simple/src/js/main/search.js index 68f77c86a..1a53713c0 100644 --- a/searx/static/themes/simple/src/js/main/search.js +++ b/searx/static/themes/simple/src/js/main/search.js @@ -43,11 +43,11 @@ createClearButton(qinput); // autocompleter - if (searxng.settings.autocomplete_provider) { + if (searxng.settings.autocomplete) { searxng.autocomplete = AutoComplete.call(w, { Url: "./autocompleter", EmptyMessage: searxng.settings.translations.no_item_found, - HttpMethod: searxng.settings.http_method, + HttpMethod: searxng.settings.method, HttpHeaders: { "Content-type": "application/x-www-form-urlencoded", "X-Requested-With": "XMLHttpRequest" |