From 7b1f23073b08a64bc84dfbaa304285b697ac2d40 Mon Sep 17 00:00:00 2001 From: LordBaryhobal Date: Tue, 9 Apr 2024 21:24:51 +0200 Subject: [PATCH] fixed null sectors --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index 45ba4e5..717f24a 100644 --- a/index.js +++ b/index.js @@ -198,10 +198,9 @@ function buildComposition(formation) { const sector = document.createElement("div") sector.classList.add("sector") sector.style.setProperty("--weight", weights[letter].toString()) - sector.innerText = letter + sector.innerText = (letter === "null" ? "" : letter) sectors.appendChild(sector) }) - console.log(weights) } function updateDisplay(result, idx=0, platform=null) {