summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/js/searx.head.min.js
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-09-19 10:13:05 +0200
committerAlexandre Flament <alex@al-f.net>2020-09-19 10:13:05 +0200
commitc23401e9fa3504e64ecf8dc5eae59e3f532d16fe (patch)
tree23ed62c8d2f3f263b4ff2995d0534b6225ef3395 /searx/static/themes/simple/js/searx.head.min.js
parentae07f4a211ecba0331bcab5903e3263c646f8bdb (diff)
[fix] simple theme: fix autocomplete
AJAX requests send the X-Requested-With HTTP header, so searx.webapp.autocompleter returns the results with the expected data format. Related to #2127 Close #2203
Diffstat (limited to 'searx/static/themes/simple/js/searx.head.min.js')
-rw-r--r--searx/static/themes/simple/js/searx.head.min.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/static/themes/simple/js/searx.head.min.js b/searx/static/themes/simple/js/searx.head.min.js
index 8cd0df3d6..7bbb6847b 100644
--- a/searx/static/themes/simple/js/searx.head.min.js
+++ b/searx/static/themes/simple/js/searx.head.min.js
@@ -1,4 +1,4 @@
-/*! simple/searx.min.js | 15-06-2020 | */
+/*! simple/searx.min.js | 19-09-2020 | https://github.com/asciimoo/searx */
(function(t,e){"use strict";var a=e.currentScript||function(){var t=e.getElementsByTagName("script");return t[t.length-1]}();t.searx={touch:"ontouchstart"in t||t.DocumentTouch&&document instanceof DocumentTouch||false,method:a.getAttribute("data-method"),autocompleter:a.getAttribute("data-autocompleter")==="true",search_on_category_select:a.getAttribute("data-search-on-category-select")==="true",infinite_scroll:a.getAttribute("data-infinite-scroll")==="true",static_path:a.getAttribute("data-static-path"),no_item_found:a.getAttribute("data-no-item-found")};e.getElementsByTagName("html")[0].className=t.searx.touch?"js touch":"js"})(window,document);
//# sourceMappingURL=searx.head.min.js.map \ No newline at end of file