« get me outta code hell

content: generateTrackArtistCommentarySection: curr above main - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-06-04 20:48:04 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-06-04 20:48:04 -0300
commit609b5fb0c3238e3cb431703720f074436c7bcc0d (patch)
tree91b61be0c514aec758f09399730650baab2e18ab
parentd7b5dc6296757de10dab64021e4663879177f316 (diff)
content: generateTrackArtistCommentarySection: curr above main
-rw-r--r--src/content/dependencies/generateTrackArtistCommentarySection.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/content/dependencies/generateTrackArtistCommentarySection.js b/src/content/dependencies/generateTrackArtistCommentarySection.js
index e3041d3a..228863a4 100644
--- a/src/content/dependencies/generateTrackArtistCommentarySection.js
+++ b/src/content/dependencies/generateTrackArtistCommentarySection.js
@@ -84,6 +84,20 @@ export default {
             title: language.$('misc.artistCommentary'),
           }),
 
+        html.tags([
+          data.isSecondaryRelease &&
+          !html.isBlank(relations.mainReleaseArtistCommentaryEntries) &&
+            html.tag('p', {class: ['drop', 'commentary-drop']},
+              {[html.onlyIfSiblings]: true},
+
+              language.$(capsule, 'info.releaseSpecific', {
+                album:
+                  relations.thisReleaseAlbumLink,
+              })),
+
+          relations.artistCommentaryEntries,
+        ]),
+
         data.isSecondaryRelease &&
           html.tags([
             html.tag('p', {class: ['drop', 'commentary-drop']},
@@ -113,20 +127,6 @@ export default {
             relations.mainReleaseArtistCommentaryEntries,
           ]),
 
-        html.tags([
-          data.isSecondaryRelease &&
-          !html.isBlank(relations.mainReleaseArtistCommentaryEntries) &&
-            html.tag('p', {class: ['drop', 'commentary-drop']},
-              {[html.onlyIfSiblings]: true},
-
-              language.$(capsule, 'info.releaseSpecific', {
-                album:
-                  relations.thisReleaseAlbumLink,
-              })),
-
-          relations.artistCommentaryEntries,
-        ]),
-
         html.tag('p', {class: ['drop', 'commentary-drop']},
           {[html.onlyIfContent]: true},