mirror of
https://github.com/searxng/searxng.git
synced 2025-01-18 14:25:25 +00:00
[chore] search.js: remove leftovers from shift to multiselect categories PR
This commit is contained in:
parent
bb04699b17
commit
365c4d0643
1 changed files with 0 additions and 6 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue