summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/js/main
diff options
context:
space:
mode:
Diffstat (limited to 'searx/static/themes/simple/src/js/main')
-rw-r--r--searx/static/themes/simple/src/js/main/searx_search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/static/themes/simple/src/js/main/searx_search.js b/searx/static/themes/simple/src/js/main/searx_search.js
index 235262b37..c593ba6a3 100644
--- a/searx/static/themes/simple/src/js/main/searx_search.js
+++ b/searx/static/themes/simple/src/js/main/searx_search.js
@@ -96,7 +96,7 @@
}
// 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() {