Skip to content

Commit

Permalink
Kill hang
Browse files Browse the repository at this point in the history
  • Loading branch information
tombrunet committed Nov 6, 2024
1 parent 50a20a3 commit 77804fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions accessibility-checker-engine/src/v2/aria/ARIAWalker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ export class ARIAWalker {
this.root = (this.root as Document).documentElement
}
this.node = element;
if (this.node.nodeType === 9) {
this.node = (this.node as Document).documentElement
}
// if (this.node.nodeType === 9) {
// this.node = (this.node as Document).documentElement
// }
this.bEndTag = (bEnd == undefined ? false : bEnd == true);
}

Expand Down

0 comments on commit 77804fc

Please sign in to comment.