fix instance article content

This commit is contained in:
Arthur Lu 2022-12-14 16:07:25 -08:00
parent 77673e80fe
commit 1b57b587c7

View File

@ -4,7 +4,7 @@ class Instance extends HTMLElement {
let shadowRoot = this.attachShadow({mode: "open"});
let instanceTemplate = document.querySelector("#instance-template");
let instanceTemplateContent = instanceTemplate.textContent;
let instanceTemplateContent = instanceTemplate.content;
shadowRoot.append(instanceTemplateContent.cloneNode(true));
let styleLink = document.createElement("link");