Missing map2D bugfix.

This commit is contained in:
Blaz Kristan 2022-08-22 20:38:23 +02:00
parent b8b3d17570
commit 9cb6f95420
2 changed files with 1712 additions and 1709 deletions

View File

@ -1043,7 +1043,10 @@ function updateLen(s)
if (sE) {
let sN = sE.querySelector(".lstIname").innerText;
let seg = gId(`seg${s}map2D`);
if (seg && sN.indexOf("\u25A6")<0) seg.classList.remove("hide"); else seg.classList.add("hide");
if (seg) {
if(sN.indexOf("\u25A6")<0) seg.classList.remove("hide");
else seg.classList.add("hide");
}
}
}
}

File diff suppressed because it is too large Load Diff