fix instance article content

This commit is contained in:
Arthur Lu 2022-12-14 16:07:25 -08:00
parent 9d29ae078a
commit 3670730f2b

View File

@ -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");