test
parent
ea7bdda392
commit
e7a24ddc38
|
@ -112,9 +112,7 @@
|
|||
super();
|
||||
|
||||
// "variant" is the id of the variant
|
||||
|
||||
this.variant = this.getAttribute('variant');
|
||||
console.log("this.variant",this.variant);
|
||||
this.variant = null;
|
||||
this.currentVariant = null;
|
||||
}
|
||||
|
||||
|
@ -125,8 +123,10 @@
|
|||
this.updateVariantDescription(id);
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
connectedCallback() {
|
||||
this.style.display = 'none';
|
||||
// "variant" is the id of the variant
|
||||
this.variant = this.getAttribute('variant');
|
||||
}
|
||||
|
||||
disconnectedCallback() {
|
||||
|
|
Loading…
Reference in New Issue