pull/1/head
Jan Umbach 2024-05-28 17:05:08 +02:00
parent 2f3938d793
commit 30175b02e3
1 changed files with 1 additions and 1 deletions

View File

@ -1130,7 +1130,7 @@ class VariantSelects extends HTMLElement {
console.log('mediaGallery', mediaGallery);
// get the second image id
const secondImageId = mediaGallery.querySelector('.thumbnail-list__item:nth-child(2)').dataset.mediaId;
const secondImageId = mediaGallery.querySelector('.thumbnail-list__item:nth-child(2)').dataset;
console.log('secondImageId', secondImageId);