diff options
-rw-r--r-- | searx/static/themes/simple/src/js/main/search.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/searx/static/themes/simple/src/js/main/search.js b/searx/static/themes/simple/src/js/main/search.js index bc0f8b428..af34b4867 100644 --- a/searx/static/themes/simple/src/js/main/search.js +++ b/searx/static/themes/simple/src/js/main/search.js @@ -166,12 +166,6 @@ searxng.on(d.getElementById('language'), 'change', submitIfQuery); } - // remove CSS class that's only needed when the browser supports no JavaScript - const categoriesContainer = d.querySelector("#categories_container"); - if (categoriesContainer) { - categoriesContainer.classList.remove("nojs"); - } - const categoryButtons = d.querySelectorAll("button.category_button"); for (let button of categoryButtons) { searxng.on(button, 'click', (event) => { |