Skip to content

Commit

Permalink
Fix bug with infinite loop in getParentElement (see
Browse files Browse the repository at this point in the history
  • Loading branch information
angelozerr committed Dec 18, 2018
1 parent f4e8319 commit d55d53e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ public DOMElement getParentElement() {
if (parent.isElement()) {
return (DOMElement) parent;
}
parent = parent.getParentNode();
}
return null;
}
Expand Down

0 comments on commit d55d53e

Please sign in to comment.