fix instance article content
This commit is contained in:
parent
9d29ae078a
commit
3670730f2b
@ -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