From 823db2b96a24ee3f4b16edde9c6ab2138a4f5894 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 1 Sep 2021 10:12:44 -0300 Subject: restore support for Jiff --- src/util/wiki-data.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/wiki-data.js b/src/util/wiki-data.js index 3f24e6a7..2f705f91 100644 --- a/src/util/wiki-data.js +++ b/src/util/wiki-data.js @@ -143,7 +143,9 @@ export function getArtistCommentary(artist, {justEverythingMan}) { } export function getFlashCover(flash, {to}) { - return to('media.flashArt', flash.directory); + return (flash.jiff + ? to('media.flashArtGif', flash.directory) + : to('media.flashArt', flash.directory)); } export function getFlashLink(flash) { -- cgit 1.3.0-6-gf8a5