From 4b7a032edf6b35f49aa30ec642aad98d117c58a0 Mon Sep 17 00:00:00 2001 From: Benjamin Arntzen Date: Thu, 27 Jun 2024 06:00:23 +0100 Subject: [PATCH] Removed unnecessary comment about assuming log contains nodeId. --- public/index.html | 1 - 1 file changed, 1 deletion(-) diff --git a/public/index.html b/public/index.html index 85c2b36..9be7418 100644 --- a/public/index.html +++ b/public/index.html @@ -37,7 +37,6 @@ ws.onmessage = (event) => { const log = JSON.parse(event.data); - // Assuming log contains nodeId to identify which node to light up const nodeId = log.nodeId; if (nodeId >= 0 && nodeId < 50) { nodes[nodeId].style.backgroundColor = 'green';