diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-09-19 10:00:21 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-09-19 10:00:21 -0300 |
commit | c6c1a6be4ee817c65ccc994cd6ae68a835aa406e (patch) | |
tree | 23e07252b71329bf99aad400aa0ca93eb59ba532 /src/static | |
parent | fd102ee597e2ad2ba8f0950ce1a16fd34029963d (diff) | |
parent | fdd8f355bfe0992fc340f800297df524276b1946 (diff) |
Merge branch 'preview' into track-data-cleanup
Diffstat (limited to 'src/static')
-rw-r--r-- | src/static/client2.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/client2.js b/src/static/client2.js index 78970410..d9afcb03 100644 --- a/src/static/client2.js +++ b/src/static/client2.js @@ -539,7 +539,7 @@ const stickyHeadingInfo = Array.from(document.querySelectorAll('.content-sticky- const contentHeadings = Array.from(contentContainer.querySelectorAll('.content-heading')); const contentCover = contentContainer.querySelector('#cover-art-container'); - if (stickyCover.querySelector('.image-text-area')) { + if (stickyCover?.querySelector('.image-text-area')) { stickyCoverContainer.remove(); stickyCoverContainer = null; stickyCover = null; |