test
parent
537b8c99c4
commit
ec1fbb56f5
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue