prevent node unrendering

This commit is contained in:
ferricles 2022-06-26 11:18:20 -07:00
parent f854889846
commit d5d3f15c27

View file

@ -207,7 +207,6 @@ function construct_AT(elem, tree) {
if (tooltip.style.display == "block") {
tooltip.style.display = "none";
this.classList.remove("atree-selected");
this.style.backgroundImage = '';
document.getElementById("active_AP_cost").textContent = parseInt(document.getElementById("active_AP_cost").textContent) - node.cost;
}
else {