« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util/wiki-data.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/wiki-data.js')
-rw-r--r--src/util/wiki-data.js4
1 files changed, 3 insertions, 1 deletions
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) {