aboutsummaryrefslogtreecommitdiffstats
path: root/script.js
diff options
context:
space:
mode:
authoralyx <alyx@aleteoryx.me>2022-02-04 21:26:20 +0000
committerAleteoryx <alyx@aleteoryx.me>2022-02-04 21:26:20 +0000
commit1b43c68210da0e45dce23f37cc2cad9717ca4d75 (patch)
tree93568f972414dd8a199b32d430e8a1dd713a21c8 /script.js
parentfabe19e3d993fc57cbc1102f55cdfa26ab3009c7 (diff)
downloadRRCUtils-1b43c68210da0e45dce23f37cc2cad9717ca4d75.tar.gz
RRCUtils-1b43c68210da0e45dce23f37cc2cad9717ca4d75.tar.bz2
RRCUtils-1b43c68210da0e45dce23f37cc2cad9717ca4d75.zip
chips now place at the center of the screen.
Diffstat (limited to 'script.js')
-rw-r--r--script.js4
1 files changed, 3 insertions, 1 deletions
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;
}