pull/1/head
Jan Umbach 2024-05-30 12:04:21 +02:00
parent 27eea9072c
commit 741ae83498
1 changed files with 4 additions and 4 deletions

View File

@ -974,6 +974,9 @@ class VariantSelects extends HTMLElement {
super();
this.addEventListener('change', this.onVariantChange);
this.updateOptions();
this.updateMasterId();
document.querySelectorAll('shx-drehteller').forEach((drehteller) => {
drehteller.reloadCurrentVariant(this.currentVariant.featured_image.alt);
console.log("drehteller INIT", drehteller);
@ -1127,10 +1130,7 @@ class VariantSelects extends HTMLElement {
.includes(false);
});
document.querySelectorAll('shx-drehteller').forEach((drehteller) => {
drehteller.reloadCurrentVariant(this.currentVariant.featured_image.alt);
console.log("drehteller INIT", drehteller);
});
}
updateSelectedSwatchValue({ target }) {