Fixed media player images

This commit is contained in:
Eduard Urbach 2018-03-20 02:12:10 +01:00
parent 947752333d
commit 436e51c53c

View File

@ -130,7 +130,7 @@ async function updateTrackInfo(trackId: string) {
let anime = await animeResponse.json()
animeLink.title = anime.title.canonical
animeLink.href = "/anime/" + anime.id
animeImage.dataset.src = "//media.notify.moe/images/anime/medium/" + anime.id + anime.imageExtension
animeImage.dataset.src = "//media.notify.moe/images/anime/medium/" + anime.id + ".jpg"
animeImage.classList.remove("hidden")
animeImage["became visible"]()
}