« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/misc-templates.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r--src/misc-templates.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js
index 253d5b47..7887dcbd 100644
--- a/src/misc-templates.js
+++ b/src/misc-templates.js
@@ -640,9 +640,9 @@ function unbound_getFlashGridHTML({
   });
 }
 
-// Montage reels
+// Carousel reels
 
-function unbound_getMontageHTML({
+function unbound_getCarouselHTML({
   html,
   img,
 
@@ -653,18 +653,18 @@ function unbound_getMontageHTML({
   linkFn = (x, {text}) => text,
   srcFn,
 }) {
-  return (x => x)(html.tag('div', {class: 'montage-container'},
+  return (x => x)(html.tag('div', {class: 'carousel-container'},
     repeat(3,
       html.tag('div',
         {
-          class: 'montage-grid',
+          class: 'carousel-grid',
           'aria-hidden': 'true',
         },
         items
           .filter(item => srcFn(item))
           .filter(item => item.artTags.every(tag => !tag.isContentWarning))
           .map((item, i) =>
-            html.tag('div', {class: 'montage-item'},
+            html.tag('div', {class: 'carousel-item'},
               linkFn(item, {
                 attributes: {
                   tabindex: '-1',
@@ -878,7 +878,7 @@ export {
   unbound_getAlbumGridHTML as getAlbumGridHTML,
   unbound_getFlashGridHTML as getFlashGridHTML,
 
-  unbound_getMontageHTML as getMontageHTML,
+  unbound_getCarouselHTML as getCarouselHTML,
 
   unbound_generateInfoGalleryLinks as generateInfoGalleryLinks,
   unbound_generateNavigationLinks as generateNavigationLinks,