diff options
Diffstat (limited to 'searx/static/themes/simple/js/searx.js')
| -rw-r--r-- | searx/static/themes/simple/js/searx.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/static/themes/simple/js/searx.js b/searx/static/themes/simple/js/searx.js index 5982a06cf..320c5f882 100644 --- a/searx/static/themes/simple/js/searx.js +++ b/searx/static/themes/simple/js/searx.js @@ -782,7 +782,7 @@ searx.ready(function() { } // vanilla js version of search_on_category_select.js - if (qinput !== null && searx.search_on_category_select) { + if (qinput !== null && d.querySelector('.help') != null && searx.search_on_category_select) { d.querySelector('.help').className='invisible'; searx.on('#categories input', 'change', function() { |