Missing map2D bugfix.

This commit is contained in:
Blaz Kristan 2022-08-22 20:37:47 +02:00
parent fb6dfcd3fc
commit 89f334e67b
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