[chore] search.js: remove leftovers from shift to multiselect categories PR

This commit is contained in:
Bnyro 2024-11-29 20:09:43 +01:00
parent bb04699b17
commit 365c4d0643

View file

@ -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) => {