From aa233b482185c929850bc4e0070083abe698b5de Mon Sep 17 00:00:00 2001
From: Shelane French <french8@llnl.gov>
Date: Mon, 31 Mar 2025 07:35:26 -0700
Subject: [PATCH] fixes lint issues with javascript

---
 js/views-bootstrap.js | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/js/views-bootstrap.js b/js/views-bootstrap.js
index a2143b1..06f2702 100644
--- a/js/views-bootstrap.js
+++ b/js/views-bootstrap.js
@@ -1,23 +1,21 @@
 (function () {
-
-  'use strict';
-
   /**
    * Attaches the behavior to bootstrap carousel view.
    */
   Drupal.behaviors.views_bootstrap_carousel = {
-    attach: function (context, settings) {
+    attach(context, settings) {
       const carousels = document.querySelectorAll('.carousel-inner');
       carousels.forEach(function (carousel) {
         const children = carousel.querySelectorAll('div');
         if (children.length === 1) {
-          const siblings = carousel.parentElement.querySelectorAll('.carousel-control, .carousel-indicators');
+          const siblings = carousel.parentElement.querySelectorAll(
+            '.carousel-control, .carousel-indicators',
+          );
           siblings.forEach(function (sibling) {
             sibling.style.display = 'none';
           });
         }
       });
-    }
+    },
   };
-
-}());
+})();
-- 
GitLab