fix instance article content
This commit is contained in:
parent
77673e80fe
commit
1b57b587c7
@ -4,7 +4,7 @@ class Instance extends HTMLElement {
|
|||||||
let shadowRoot = this.attachShadow({mode: "open"});
|
let shadowRoot = this.attachShadow({mode: "open"});
|
||||||
|
|
||||||
let instanceTemplate = document.querySelector("#instance-template");
|
let instanceTemplate = document.querySelector("#instance-template");
|
||||||
let instanceTemplateContent = instanceTemplate.textContent;
|
let instanceTemplateContent = instanceTemplate.content;
|
||||||
shadowRoot.append(instanceTemplateContent.cloneNode(true));
|
shadowRoot.append(instanceTemplateContent.cloneNode(true));
|
||||||
|
|
||||||
let styleLink = document.createElement("link");
|
let styleLink = document.createElement("link");
|
||||||
|
Loading…
Reference in New Issue
Block a user