@dereekb/dbx-core 13.6.11 → 13.6.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9073,7 +9073,7 @@ function hasNonTrivialChildNodes(element) {
|
|
|
9073
9073
|
const nodes = element.childNodes;
|
|
9074
9074
|
let result = false;
|
|
9075
9075
|
for (let i = 0; i < nodes.length; i++) {
|
|
9076
|
-
const node = nodes
|
|
9076
|
+
const node = nodes.item(i);
|
|
9077
9077
|
if (node.nodeType === Node.ELEMENT_NODE || (node.nodeType === Node.TEXT_NODE && node.textContent?.trim())) {
|
|
9078
9078
|
result = true;
|
|
9079
9079
|
break;
|