pull/1/head
Jan Umbach 2024-05-30 11:56:25 +02:00
parent 537b8c99c4
commit ec1fbb56f5
1 changed files with 5 additions and 0 deletions

View File

@ -973,6 +973,11 @@ class VariantSelects extends HTMLElement {
constructor() {
super();
this.addEventListener('change', this.onVariantChange);
document.querySelectorAll('shx-drehteller').forEach((drehteller) => {
drehteller.reloadCurrentVariant(this.currentVariant.featured_image.alt);
console.log("drehteller INIT", drehteller);
});
}
onVariantChange(event) {