diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-12-08 20:28:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-08 20:28:35 +0100 |
| commit | 2a262df0bb1f6bc9c1ccb37894cd9501d00c8349 (patch) | |
| tree | 8189a865e08e2b0edcfe069d5fba464cfd1415b6 /searx/static/themes/oscar/js/searxng.min.js | |
| parent | b5c9cc4ff39be390aabb2794b2a5ba8a9fc1f713 (diff) | |
| parent | d6d6585b26ab8159dc38794e171f8052ffdb0865 (diff) | |
Merge pull request #582 from return42/fix-autocomplete-csp
[fix] simple theme: make autocomplete-js CSP compliant
Diffstat (limited to 'searx/static/themes/oscar/js/searxng.min.js')
| -rw-r--r-- | searx/static/themes/oscar/js/searxng.min.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/static/themes/oscar/js/searxng.min.js b/searx/static/themes/oscar/js/searxng.min.js index 9da3a8b75..c835d8129 100644 --- a/searx/static/themes/oscar/js/searxng.min.js +++ b/searx/static/themes/oscar/js/searxng.min.js @@ -4,7 +4,7 @@ * (C) Copyright Contributors to the searx project (2014 - 2021). * SPDX-License-Identifier: AGPL-3.0-or-later */ -window.searxng=function(t){"use strict";t.getElementsByTagName("html")[0].className="js";var e,e=t.currentScript||(e=t.getElementsByTagName("script"))[e.length-1];return{autocompleter:"true"===e.getAttribute("data-autocompleter"),method:e.getAttribute("data-method"),translations:JSON.parse(e.getAttribute("data-translations"))}}(document), +window.searxng=function(t){"use strict";t.getElementsByTagName("html")[0].className="js";var e=t.currentScript||(e=t.getElementsByTagName("script"))[e.length-1];return{autocompleter:"true"===e.getAttribute("data-autocompleter"),method:e.getAttribute("data-method"),translations:JSON.parse(e.getAttribute("data-translations"))}}(document), /** * @license * (C) Copyright Contributors to the SearXNG project. |