test
parent
f0b29230b0
commit
2cac96899c
|
@ -1163,9 +1163,9 @@ class VariantSelects extends HTMLElement {
|
||||||
if (galleryImage.getAttribute('thumbnail-alt') === this.currentVariant.featured_image.alt) {
|
if (galleryImage.getAttribute('thumbnail-alt') === this.currentVariant.featured_image.alt) {
|
||||||
|
|
||||||
// check if galleryImage has data-is-video-type attribute
|
// check if galleryImage has data-is-video-type attribute
|
||||||
if (galleryImage.dataset.isVideoType !== 'true') {
|
/*if (galleryImage.dataset.isVideoType !== 'true') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
console.log('galleryImage.dataset', galleryImage.dataset);
|
console.log('galleryImage.dataset', galleryImage.dataset);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue