Fixed a few oddities with the new explore filters
This commit is contained in:
parent
9d697506d9
commit
270e65f008
@ -7,8 +7,10 @@ export function filterAnime(arn: AnimeNotifier, input: HTMLInputElement) {
|
||||
let status = arn.app.find("filter-status") as HTMLSelectElement
|
||||
let type = arn.app.find("filter-type") as HTMLSelectElement
|
||||
|
||||
for(let cell of findAll("anime-grid-cell")) {
|
||||
cell.style.opacity = "0.1"
|
||||
for(let element of findAll("anime-grid-image")) {
|
||||
let img = element as HTMLImageElement
|
||||
img.src = ""
|
||||
img.classList.remove("element-found")
|
||||
}
|
||||
|
||||
arn.diff(`/explore/anime/${year.value}/${status.value}/${type.value}`)
|
||||
|
Loading…
Reference in New Issue
Block a user