From 84476a95bcb8acd2593181c22fe5d6d8891c8b8e Mon Sep 17 00:00:00 2001 From: fin444 Date: Tue, 19 Jul 2022 19:50:14 -0700 Subject: [PATCH] it's 'node_0' not '0' --- js/atree.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/atree.js b/js/atree.js index 865b7ec..0a6151c 100644 --- a/js/atree.js +++ b/js/atree.js @@ -1082,6 +1082,9 @@ function generateTooltip(UI_elem, node_elem, ability, atree_map) { let title = make_elem("b", ["scaled-font", "mx-1"], {}); title.innerHTML = ability.display_name; switch(ability.display.icon) { + case "node_0": + // already white + break; case "node_1": title.classList.add("mc-gold"); break; @@ -1098,9 +1101,6 @@ function generateTooltip(UI_elem, node_elem, ability, atree_map) { case "node_shaman": title.classList.add("mc-green"); break; - case "0": - // already white - break; } container.appendChild(title);