diff --git a/assets/global.js b/assets/global.js index 1cbaf3f..2dd0fd9 100644 --- a/assets/global.js +++ b/assets/global.js @@ -1036,6 +1036,7 @@ class VariantSelects extends HTMLElement { // only show the image with the alt tag that matches the variant title document.querySelectorAll('[thumbnail-alt]').forEach((thumbnail) => { + console.log(thumbnail.getAttribute('thumbnail-alt')); if (thumbnail.getAttribute('thumbnail-alt') === this.currentVariant.featured_image.alt) { thumbnail.style.display = 'block'; } else {