From 1b43c68210da0e45dce23f37cc2cad9717ca4d75 Mon Sep 17 00:00:00 2001 From: alyx Date: Fri, 4 Feb 2022 21:26:20 +0000 Subject: chips now place at the center of the screen. --- script.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'script.js') diff --git a/script.js b/script.js index a8088cb..280c484 100644 --- a/script.js +++ b/script.js @@ -175,8 +175,10 @@ window.addEventListener("load", async (e) => { addBtn.setAttribute('title', 'Add to graph'); addBtn.onclick = getChipAddListener(el.GUID); if (isNested) name.append(addBtn); + + let m = generateChipHTML(el.NodeDescs); - ret.append(depr, name, iret, generateChipHTML(el.NodeDescs)); + ret.append(depr, name, iret, m); return ret; } -- cgit v1.2.3-54-g00ecf