summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2024-11-29 20:09:43 +0100
committerBnyro <bnyro@tutanota.com>2024-11-29 20:24:06 +0100
commit365c4d06438c424c36032200cfd357dd849f73d6 (patch)
treeb10bbc05aa7bb8ae94631db1369258c615881139
parentbb04699b17e014089e6dd6d0af2f01b9717ad58c (diff)
downloadsearxng-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.js6
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) => {