pull/1/head
Jan Umbach 2024-05-30 13:44:54 +02:00
parent ea7bdda392
commit e7a24ddc38
1 changed files with 4 additions and 4 deletions

View File

@ -112,9 +112,7 @@
super(); super();
// "variant" is the id of the variant // "variant" is the id of the variant
this.variant = null;
this.variant = this.getAttribute('variant');
console.log("this.variant",this.variant);
this.currentVariant = null; this.currentVariant = null;
} }
@ -127,6 +125,8 @@
connectedCallback() { connectedCallback() {
this.style.display = 'none'; this.style.display = 'none';
// "variant" is the id of the variant
this.variant = this.getAttribute('variant');
} }
disconnectedCallback() { disconnectedCallback() {