diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-10-01 18:37:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-01 18:37:12 +0200 |
| commit | 8bd7358c065a9c96efdcc188b23596ecacaaf2e7 (patch) | |
| tree | 6624deb9186ef9979230e8e63a871b96a4dd38b1 /searx/static/themes/oscar/js/searxng.js | |
| parent | 458575c221abcdbe3c0ffb633dd06f5f6d05bf2e (diff) | |
| parent | a53a4d5012a3aa5bcabbe0d7db8805fdf342d896 (diff) | |
Merge pull request #371 from dalf/searxng-theme-simple
Searxng theme simple
Diffstat (limited to 'searx/static/themes/oscar/js/searxng.js')
| -rw-r--r-- | searx/static/themes/oscar/js/searxng.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/searx/static/themes/oscar/js/searxng.js b/searx/static/themes/oscar/js/searxng.js index 247672df5..bd3cabad4 100644 --- a/searx/static/themes/oscar/js/searxng.js +++ b/searx/static/themes/oscar/js/searxng.js @@ -23,8 +23,6 @@ window.searxng = (function(d) { translations: JSON.parse(script.getAttribute('data-translations')) }; })(document); - -window.searx = {}; ;/** * @license * (C) Copyright Contributors to the SearXNG project. @@ -181,7 +179,7 @@ $(document).ready(function(){ /** * Layout images according to their sizes */ - searxng.image_thumbnail_layout = new searx.ImageLayout('#main_results', '#main_results .result-images', 'img.img-thumbnail', 15, 200); + searxng.image_thumbnail_layout = new searxng.ImageLayout('#main_results', '#main_results .result-images', 'img.img-thumbnail', 15, 200); searxng.image_thumbnail_layout.watch(); }); ;/** @@ -479,6 +477,6 @@ $(document).ready(function(){ } }; - w.searx.ImageLayout = ImageLayout; + w.searxng.ImageLayout = ImageLayout; }(window, document)); |