Skip to content

Commit ad71f9d

Browse files
small tests
1 parent 0c15002 commit ad71f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core/utils/get-ancestry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function generateAncestry(node) {
99
if (
1010
nodeName !== 'head' &&
1111
nodeName !== 'body' &&
12-
parentNode?.children.length > 1
12+
parentElement?.children.length > 1
1313
) {
1414
let index = 0;
1515
// a11y-engine changes

0 commit comments

Comments
 (0)