aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/z-component.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/z-component.js')
-rw-r--r--src/frontend/z-component.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/frontend/z-component.js b/src/frontend/z-component.js
index e9b63ff..5e430b5 100644
--- a/src/frontend/z-component.js
+++ b/src/frontend/z-component.js
@@ -3,14 +3,13 @@ customElements.define(
class extends HTMLElement {
constructor() {
super();
- this.attachShadow({ mode: 'open' })
+ this.attachShadow({ mode: 'open' });
}
connectedCallback() {
const type = this.getAttribute('type');
const template = document.getElementById(`--${type}`);
const node = document.importNode(template.content, true);
- this.shadowRoot.id = 'root';
this.shadowRoot.appendChild(node);
}
}