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/element_modifiers.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/element_modifiers.js')
| -rw-r--r-- | searx/static/themes/oscar/src/js/element_modifiers.js | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/searx/static/themes/oscar/src/js/element_modifiers.js b/searx/static/themes/oscar/src/js/element_modifiers.js index 087f7d479..58e87f0f2 100644 --- a/searx/static/themes/oscar/src/js/element_modifiers.js +++ b/searx/static/themes/oscar/src/js/element_modifiers.js @@ -1,18 +1,9 @@ /** - * 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(){ @@ -112,6 +103,6 @@ $(document).ready(function(){ /** * Layout images according to their sizes */ - searx.image_thumbnail_layout = new searx.ImageLayout('#main_results', '#main_results .result-images', 'img.img-thumbnail', 15, 200); - searx.image_thumbnail_layout.watch(); + searxng.image_thumbnail_layout = new searx.ImageLayout('#main_results', '#main_results .result-images', 'img.img-thumbnail', 15, 200); + searxng.image_thumbnail_layout.watch(); }); |