« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/content/dependencies/generateContributionTooltipChronologySection.js2
-rw-r--r--src/content/dependencies/linkAnythingMan.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/content/dependencies/generateContributionTooltipChronologySection.js b/src/content/dependencies/generateContributionTooltipChronologySection.js
index e4b9bfda..0cabc877 100644
--- a/src/content/dependencies/generateContributionTooltipChronologySection.js
+++ b/src/content/dependencies/generateContributionTooltipChronologySection.js
@@ -3,7 +3,7 @@ function getName(thing) {
     return null;
   }
 
-  if (thing.isArtwork) {
+  if (thing.isArtwork || thing.isMusicVideo) {
     return thing.thing.name;
   }
 
diff --git a/src/content/dependencies/linkAnythingMan.js b/src/content/dependencies/linkAnythingMan.js
index cb22baee..6efa5fe1 100644
--- a/src/content/dependencies/linkAnythingMan.js
+++ b/src/content/dependencies/linkAnythingMan.js
@@ -9,6 +9,8 @@ export default {
         ? relation('linkFlash', thing)
      : thing.isTrack
         ? relation('linkTrack', thing)
+     : thing.isMusicVideo
+        ? relation('linkAnythingMan', thing.thing)
         : null),
   }),