From 7233eeffbbb5fe02113ea7e18322eaeec520f79e Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 27 Apr 2023 15:19:16 -0300 Subject: fix sticky heading not handling CW'd covers properly --- src/misc-templates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', ], }, -- cgit 1.3.0-6-gf8a5