Display Build and Spell Stats only if the build is calculated
This commit is contained in:
parent
70cfa98fbd
commit
04e6613b79
2 changed files with 6 additions and 2 deletions
|
@ -427,6 +427,10 @@ function calculateBuild(save_skp, skp){
|
||||||
}
|
}
|
||||||
document.getElementById("level-choice").value = level;
|
document.getElementById("level-choice").value = level;
|
||||||
|
|
||||||
|
for (let i of document.getElementsByClassName("hide-container")) {
|
||||||
|
i.style.visibility = "visible";
|
||||||
|
}
|
||||||
|
|
||||||
console.log(equipment);
|
console.log(equipment);
|
||||||
player_build = new Build(level, equipment, powderings);
|
player_build = new Build(level, equipment, powderings);
|
||||||
console.log(player_build.toString());
|
console.log(player_build.toString());
|
||||||
|
|
|
@ -388,13 +388,13 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="build-overall-container">
|
<div class="build-overall-container hide-container" style="visibility: hidden;">
|
||||||
<div class = "center build-overall" id = "build-overall">
|
<div class = "center build-overall" id = "build-overall">
|
||||||
<br/>
|
<br/>
|
||||||
<div class = "center" id = "build-overall-stats"></div>
|
<div class = "center" id = "build-overall-stats"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="spell-info-container">
|
<div class="spell-info-container hide-container" style="visibility: hidden;">
|
||||||
<div class="spell-info">
|
<div class="spell-info">
|
||||||
<div class="center" id="build-melee-statsAvg">melee</div>
|
<div class="center" id="build-melee-statsAvg">melee</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue