From 0111f5d7c739207cb9c4b1927722c57b2cbd1f70 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Sun, 11 Dec 2022 20:22:37 -0800 Subject: [PATCH] fix instance populating --- elements.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/elements.js b/elements.js index 9f9d0b1..c4c4a73 100644 --- a/elements.js +++ b/elements.js @@ -35,6 +35,7 @@ class Node extends HTMLElement { for (let i = 0; i < qemu.length; i++) { let newInstance = document.createElement("instance-div"); newInstance.data = qemu[i]; + qemuDiv.append(newInstance); } articleElement.append(qemuDiv); } @@ -46,6 +47,7 @@ class Node extends HTMLElement { for (let i = 0; i < lxc.length; i++) { let newInstance = document.createElement("instance-div"); newInstance.data = lxc[i]; + lxcDiv.append(newInstance); } articleElement.append(lxcDiv); }