test
parent
0138c1877f
commit
ce336ebdc5
|
@ -1138,7 +1138,8 @@ class VariantSelects extends HTMLElement {
|
|||
|
||||
for (const galleryImage of galleryImages) {
|
||||
// if display is not none, then show the image
|
||||
if (galleryImage.style.display !== 'none') {
|
||||
console.log("galleryImage.getAttribute('thumbnail-alt')", galleryImage.getAttribute('thumbnail-alt'));
|
||||
if (galleryImage.getAttribute('thumbnail-alt') === this.currentVariant.featured_image.alt) {
|
||||
|
||||
if (index <= 0) {
|
||||
index++;
|
||||
|
|
Loading…
Reference in New Issue