From f4a67e3795e59754f674cbd23c3650aff3ad1172 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Wed, 13 Mar 2024 15:08:16 +1300 Subject: [PATCH] add node stats to header --- src/public/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/public/index.html b/src/public/index.html index 0b53c3b..de125e9 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -108,6 +108,7 @@
+
@@ -492,6 +493,9 @@ // clear nodes cache nodes = []; + // update stats + document.getElementById("stats-label").textContent = `${updatedNodes.length} nodes`; + // add nodes for(var node of updatedNodes){