Fixed a few oddities with the new explore filters

This commit is contained in:
Eduard Urbach 2018-03-14 04:18:57 +01:00
parent 9d697506d9
commit 270e65f008

View File

@ -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}`)