From f53b99e3490ca4055f1f75a972a8cd8f24edd4f2 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 28 Mar 2025 11:15:14 +0000 Subject: [PATCH] mobile view --- camp/static/js/gallery.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/camp/static/js/gallery.js b/camp/static/js/gallery.js index 8254a27..d3547bf 100644 --- a/camp/static/js/gallery.js +++ b/camp/static/js/gallery.js @@ -142,8 +142,6 @@ function loadGallery(images, idx, main, thumbnails) { gallery.querySelectorAll(".thumbnail").forEach((thumb, i) => { thumb.classList.toggle("active", i === index); }); - if document.querySelector(".thumbnail").parentElement - if (thumbnailsContainer && thumbnailsContainer(thumbnailsContainer).flexWrap == "nowrap") { gallery.querySelector('.active').scrollIntoView() }