From 365c4d06438c424c36032200cfd357dd849f73d6 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Fri, 29 Nov 2024 20:09:43 +0100 Subject: [chore] search.js: remove leftovers from shift to multiselect categories PR --- searx/static/themes/simple/src/js/main/search.js | 6 ------ 1 file changed, 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) => { -- cgit v1.2.3-54-g00ecf