mirror of
https://github.com/parchlinuxB/Gitee.git
synced 2025-02-23 10:25:44 -05: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);
|
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");
|
const categoryButtons = d.querySelectorAll("button.category_button");
|
||||||
for (let button of categoryButtons) {
|
for (let button of categoryButtons) {
|
||||||
searxng.on(button, 'click', (event) => {
|
searxng.on(button, 'click', (event) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue