From 270e65f0086728a341951ff2f535354a49d5e646 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Wed, 14 Mar 2018 04:18:57 +0100 Subject: [PATCH] Fixed a few oddities with the new explore filters --- scripts/Actions/Explore.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/Actions/Explore.ts b/scripts/Actions/Explore.ts index 9f4c1e82..8147325f 100644 --- a/scripts/Actions/Explore.ts +++ b/scripts/Actions/Explore.ts @@ -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}`)