mobile view
This commit is contained in:
parent
b7b4b5dd36
commit
f53b99e349
1 changed files with 0 additions and 2 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue