« get me outta code hell

Merge branch 'data-steps' of github.com:hsmusic/hsmusic-wiki into data-steps - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-06-12 15:54:24 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-06-12 15:54:24 -0300
commit630af0a345f3be6c3e4aa3300ce138e48ed5ae91 (patch)
tree91cc3c76cebf93bf1042e89c05bc8f8d8442aff9 /src/static
parent0e150bbdf4c384bd2eee6fe3e06ab7b4eb3563da (diff)
parent05df0a1199dca320e0c8b92d210e6ab6e9676dfb (diff)
Merge branch 'data-steps' of github.com:hsmusic/hsmusic-wiki into data-steps
Diffstat (limited to 'src/static')
-rw-r--r--src/static/client.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/static/client.js b/src/static/client.js
index 62122952..e75fbd99 100644
--- a/src/static/client.js
+++ b/src/static/client.js
@@ -561,6 +561,7 @@ function prepareStickyHeadings() {
   } of stickyHeadingInfo) {
     const coverRevealImage = contentCover?.querySelector('.reveal');
     if (coverRevealImage) {
+      stickyCover.classList.add('content-sticky-heading-cover-needs-reveal');
       coverRevealImage.addEventListener('hsmusic-reveal', () => {
         stickyCover.classList.remove('content-sticky-heading-cover-needs-reveal');
       });