prevent node unrendering
This commit is contained in:
parent
f854889846
commit
d5d3f15c27
1 changed files with 0 additions and 1 deletions
|
@ -207,7 +207,6 @@ function construct_AT(elem, tree) {
|
||||||
if (tooltip.style.display == "block") {
|
if (tooltip.style.display == "block") {
|
||||||
tooltip.style.display = "none";
|
tooltip.style.display = "none";
|
||||||
this.classList.remove("atree-selected");
|
this.classList.remove("atree-selected");
|
||||||
this.style.backgroundImage = '';
|
|
||||||
document.getElementById("active_AP_cost").textContent = parseInt(document.getElementById("active_AP_cost").textContent) - node.cost;
|
document.getElementById("active_AP_cost").textContent = parseInt(document.getElementById("active_AP_cost").textContent) - node.cost;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue