summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/js/searx.js
diff options
context:
space:
mode:
authorMrPaulBlack <paul.accounts@protonmail.com>2021-09-22 21:44:35 +0200
committerMrPaulBlack <paul.accounts@protonmail.com>2021-09-22 21:44:35 +0200
commitfa95cd91a8771bbfdbac888d7300baf71435730b (patch)
tree95e07dc85ce21f2858a1efc63ff67348375107bc /searx/static/themes/simple/js/searx.js
parent79351c2e4dd9377a92a412219a1550cd0aeec446 (diff)
[build] /static
Diffstat (limited to 'searx/static/themes/simple/js/searx.js')
-rw-r--r--searx/static/themes/simple/js/searx.js2
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() {