Heavily improved image loader

This commit is contained in:
2018-03-20 23:58:37 +01:00
parent 6e603597ef
commit 5b2e22bbfc
3 changed files with 30 additions and 12 deletions

View File

@ -9,8 +9,9 @@ export function filterAnime(arn: AnimeNotifier, input: HTMLInputElement) {
for(let element of findAll("anime-grid-image")) {
let img = element as HTMLImageElement
img.src = ""
img.src = arn.emptyPixel()
img.classList.remove("element-found")
img.classList.remove("element-color-preview")
}
arn.diff(`/explore/anime/${year.value}/${status.value}/${type.value}`)