diff options
author | Bnyro <bnyro@tutanota.com> | 2024-11-29 20:09:43 +0100 |
---|---|---|
committer | Bnyro <bnyro@tutanota.com> | 2024-11-29 20:24:06 +0100 |
commit | 365c4d06438c424c36032200cfd357dd849f73d6 (patch) | |
tree | b10bbc05aa7bb8ae94631db1369258c615881139 | |
parent | bb04699b17e014089e6dd6d0af2f01b9717ad58c (diff) | |
download | searxng-365c4d06438c424c36032200cfd357dd849f73d6.tar.gz searxng-365c4d06438c424c36032200cfd357dd849f73d6.zip |
[chore] search.js: remove leftovers from shift to multiselect categories PR
-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) => { |