Sfoglia il codice sorgente

Hide the dropdown when picking 'no filter'

master
Fen Dweller 5 anni fa
parent
commit
0ff40cb6b9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      macrovision.js

+ 1
- 1
macrovision.js Vedi File

@@ -2728,7 +2728,7 @@ function prepareEntities() {
oldSelect.classList.remove("category-visible"); oldSelect.classList.remove("category-visible");


const newSelect = document.querySelector("#filter-" + e.target.value); const newSelect = document.querySelector("#filter-" + e.target.value);
if (newSelect)
if (newSelect && e.target.value != "none")
newSelect.classList.add("category-visible"); newSelect.classList.add("category-visible");


updateFilter(); updateFilter();


Loading…
Annulla
Salva