From fa95cd91a8771bbfdbac888d7300baf71435730b Mon Sep 17 00:00:00 2001 From: MrPaulBlack Date: Wed, 22 Sep 2021 21:44:35 +0200 Subject: [build] /static --- searx/static/themes/simple/js/searx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/static/themes/simple/js/searx.js') 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() { -- cgit v1.2.3