The checked node is considered hidden, if it (`node`) is in a hidden node (`hiddenNode`) .
The variables were mixed up in this condition during the transition to TypeScript.
let returnValue = false;
_dependencyHiddenNodes.forEach((hiddenNode) => {
- if (node.contains(hiddenNode)) {
+ if (hiddenNode.contains(node)) {
returnValue = true;
}
});
}
let returnValue = false;
_dependencyHiddenNodes.forEach((hiddenNode) => {
- if (node.contains(hiddenNode)) {
+ if (hiddenNode.contains(node)) {
returnValue = true;
}
});