« get me outta code hell

no lazy-loading carousels (for now) - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-12-28 20:15:35 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-12-28 20:15:35 -0400
commit871acb2b4ea8dbb7d594822a7b7418c03c3e3495 (patch)
tree4d7299224c09a8fd39a8ab7ff344b74479cc9fc5 /src/page
parent81e7947f1c4a8a795fa4be7aa797683692391d41 (diff)
no lazy-loading carousels (for now)
Diffstat (limited to 'src/page')
-rw-r--r--src/page/homepage.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/page/homepage.js b/src/page/homepage.js
index 67b2c64..d34f117 100644
--- a/src/page/homepage.js
+++ b/src/page/homepage.js
@@ -117,7 +117,8 @@ export function writeTargetless({wikiData}) {
                     entry.displayStyle === 'carousel' && [
                       getCarouselHTML({
                         items: entry.entries.map(e => e.item),
-                        lazy: i > 0,
+                        // Lazy carousels are kinda glitchy, possibly browser-dependant
+                        // lazy: i > 0,
                         srcFn: getAlbumCover,
                         linkFn: link.album,
                       }),