« get me outta code hell

client: sticky-heading: whoopsey - 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-04-13 06:48:28 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-04-13 06:48:28 -0300
commitf39bd497fd4d7e54375783efc09707149e865834 (patch)
tree11824710fd56626af5c886c41badab7d3da43d43
parentcc257bc8e85e1d7aabd67c44f88a2b6080caa87d (diff)
client: sticky-heading: whoopsey
-rw-r--r--src/static/js/client/sticky-heading.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/client/sticky-heading.js b/src/static/js/client/sticky-heading.js
index 02d3cd96..b65574d0 100644
--- a/src/static/js/client/sticky-heading.js
+++ b/src/static/js/client/sticky-heading.js
@@ -89,7 +89,7 @@ export function getPageReferences() {
 
   info.contentCovers =
     info.contentCoverColumns
-      .map(el => el.querySelector('.cover-artwork'));
+      .map(el => el ? el.querySelector('.cover-artwork') : null);
 
   info.contentCoversReveal =
     info.contentCovers