From 38357a8673fe5100bce710dc7f3fbb3263cf550c Mon Sep 17 00:00:00 2001 From: Jan Umbach Date: Mon, 27 May 2024 19:50:04 +0200 Subject: [PATCH] test --- assets/global.js | 1 + 1 file changed, 1 insertion(+) 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 {