#44 Text font dropdown is broken

This commit is contained in:
Agriya Dev5
2021-01-08 18:13:15 +05:30
parent 8616c834e4
commit 2757829dad
3 changed files with 13 additions and 14 deletions

View File

@@ -21,7 +21,9 @@ export class SeListItem extends HTMLElement {
// create the shadowDom and insert the template
this._shadowRoot = this.attachShadow({mode: 'open'});
this._shadowRoot.append(template.content.cloneNode(true));
this.$menuitem = this._shadowRoot.querySelector('elix-menu-item');
this.$menuitem = this._shadowRoot.querySelector('elix-option');
this.$svg = this.$menuitem.shadowRoot.querySelector('#checkmark');
this.$svg.setAttribute('style', 'display: none;');
}
/**
* @function observedAttributes