From 0962f9871de7e3f953f893441dcdfdfbe98bbf71 Mon Sep 17 00:00:00 2001 From: elijahr2411 Date: Thu, 26 Jan 2023 20:50:29 -0500 Subject: [PATCH] add node attribute to each card, for scripting and styling purposes --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index 1e75431..69bc7e7 100644 --- a/src/index.js +++ b/src/index.js @@ -436,6 +436,7 @@ function multicollab(url) { div.classList = "col-sm-4"; var card = document.createElement("div"); card.classList = "card bg-dark text-light"; + card.setAttribute("cvm-node", id); card.addEventListener("click", () => openVM(url, id)); var img = document.createElement("img"); img.src = "data:image/png;base64," + list[i].thumb;