summaryrefslogtreecommitdiff
path: root/scripts/onload.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/onload.js')
-rw-r--r--scripts/onload.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/onload.js b/scripts/onload.js
new file mode 100644
index 0000000..5c63f35
--- /dev/null
+++ b/scripts/onload.js
@@ -0,0 +1,8 @@
+function addNodes() {
+ const collection = document.getElementsByTagName("section");
+ const container = document.getElementById("progressContainer");
+
+ for (var i = 0; i < collection.length; i++) {
+ container.innerHTML += "<nodes class=\"sidebar-progress-node\"></nodes>\n";
+ }
+} \ No newline at end of file