From 04e6613b79bf48d1e24b6ad8d2d5e1f5a08469da Mon Sep 17 00:00:00 2001 From: dr-carlos Date: Wed, 13 Jan 2021 12:08:13 +1030 Subject: [PATCH 1/2] Display Build and Spell Stats only if the build is calculated --- builder.js | 4 ++++ index.html | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/builder.js b/builder.js index 812f828..6d4a77b 100644 --- a/builder.js +++ b/builder.js @@ -427,6 +427,10 @@ function calculateBuild(save_skp, skp){ } document.getElementById("level-choice").value = level; + for (let i of document.getElementsByClassName("hide-container")) { + i.style.visibility = "visible"; + } + console.log(equipment); player_build = new Build(level, equipment, powderings); console.log(player_build.toString()); diff --git a/index.html b/index.html index e3efb0e..12e434a 100644 --- a/index.html +++ b/index.html @@ -388,13 +388,13 @@ -
+ -
+
-
+