diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-10-01 18:07:27 +0200 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2021-10-01 18:09:37 +0200 |
| commit | a53a4d5012a3aa5bcabbe0d7db8805fdf342d896 (patch) | |
| tree | 6624deb9186ef9979230e8e63a871b96a4dd38b1 /searx/static/themes/oscar/js/searxng.js | |
| parent | 74b08303622c5545f04a3faf52f6c6962a43ea5f (diff) | |
[build] /static
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)); |