pull/1/head
Jan Umbach 2024-05-30 13:42:39 +02:00
parent 298690fa3b
commit d4c54222f8
1 changed files with 4 additions and 1 deletions

View File

@ -110,7 +110,6 @@
class CustomVariantDescriptionElement extends HTMLElement {
constructor() {
super();
this.style.display = 'block';
// "variant" is the id of the variant
@ -125,6 +124,10 @@
this.updateVariantDescription(id);
}
connectedCallback() {
this.style.display = 'none';
}
disconnectedCallback() {
// Clean up the element when it is removed from the DOM.
}