summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/js/searx.head.min.js
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-03-16 11:07:04 +0100
committerAlexandre Flament <alex@al-f.net>2021-03-16 11:22:21 +0100
commit6553c7902925809fd1cbc904dd08db035466a6b2 (patch)
treeb19fa74d6027dd64bd9f3b04b3b71f627940d20b /searx/static/themes/simple/js/searx.head.min.js
parentcb3b379161e3351d4829b2e37478125582b9fc08 (diff)
[mod] replace /translations.js by embedded JSON
In webapp.py, there is a new function "get_translations" lists available translations Close #2064
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 19de1e498..5c87d749b 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 | 16-03-2021 | */
-(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);
+(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"),translations:JSON.parse(a.getAttribute("data-translations"))};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