v1.5.75 - correct fix

This commit is contained in:
Azgaar 2021-02-27 01:12:24 +03:00
parent ec4b08c9d8
commit 8563aaf50d

View file

@ -779,9 +779,9 @@ function parseLoadedData(data) {
}
}()
const notHidden = selection => selection?.style("display") !== "none";
const hasChildren = selection => selection?.node()?.hasChildNodes();
const hasChild = (selection, selector) => selection?.node()?.querySelector(selector);
const notHidden = selection => selection.node() && selection.style("display") !== "none";
const hasChildren = selection => selection.node()?.hasChildNodes();
const hasChild = (selection, selector) => selection.node()?.querySelector(selector);
const turnOn = el => document.getElementById(el).classList.remove("buttonoff");
void function restoreLayersState() {