« get me outta code hell

fix sticky heading not handling CW'd covers properly - 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>2023-04-27 15:19:16 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-04-27 15:19:16 -0300
commit7233eeffbbb5fe02113ea7e18322eaeec520f79e (patch)
tree7db1c778d0727e2ca7cd22d834c839c7f621d799
parentdb8f05dfb49e0774ff8cc17252facde6248d455a (diff)
fix sticky heading not handling CW'd covers properly
-rw-r--r--src/misc-templates.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js
index b7c64597..39f597eb 100644
--- a/src/misc-templates.js
+++ b/src/misc-templates.js
@@ -979,7 +979,7 @@ function unbound_generateStickyHeadingContainer({
               {
                 class: [
                   'content-sticky-heading-cover',
-                  coverArtTags .some(tag => !tag.isContentWarning) &&
+                  coverArtTags.some(tag => tag.isContentWarning) &&
                     'content-sticky-heading-cover-needs-reveal',
                 ],
               },