diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-10-01 09:15:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-01 09:15:46 +0200 |
| commit | 458575c221abcdbe3c0ffb633dd06f5f6d05bf2e (patch) | |
| tree | 2e50ad12c760db799bf3ed69e5ed13834d3ccfdf /searx/static/themes/oscar/src/js/autocompleter.js | |
| parent | c74f45b1dfbc314db3cb41749111bc33d7243622 (diff) | |
| parent | 1dfac73a64ba15034a16fc0639618bf85594b98b (diff) | |
Merge pull request #361 from dalf/searxng-theme-oscar
SearXNG theme oscar
Diffstat (limited to 'searx/static/themes/oscar/src/js/autocompleter.js')
| -rw-r--r-- | searx/static/themes/oscar/src/js/autocompleter.js | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/searx/static/themes/oscar/src/js/autocompleter.js b/searx/static/themes/oscar/src/js/autocompleter.js index 56293f4f3..97c6d3c4e 100644 --- a/searx/static/themes/oscar/src/js/autocompleter.js +++ b/searx/static/themes/oscar/src/js/autocompleter.js @@ -1,23 +1,14 @@ /** - * searx is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * searx is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with searx. If not, see < http://www.gnu.org/licenses/ >. - * + * @license + * (C) Copyright Contributors to the SearXNG project. + * (C) Copyright Contributors to the searx project (2014 - 2021). * (C) 2014 by Thomas Pointhuber, <thomas.pointhuber@gmx.at> + * SPDX-License-Identifier: AGPL-3.0-or-later */ $(document).ready(function(){ var original_search_value = ''; - if(searx.autocompleter) { + if(searxng.autocompleter) { var searchResults = new Bloodhound({ datumTokenizer: Bloodhound.tokenizers.obj.whitespace('value'), queryTokenizer: Bloodhound.tokenizers.whitespace, |