Skip to content

Commit

Permalink
Merge pull request #44 from Jorriss/master
Browse files Browse the repository at this point in the history
Replaced firstChild with children[0] in findParent.
  • Loading branch information
JustinPealing committed May 16, 2017
2 parents bc1e46e + 6363b37 commit 0166c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/svgLines.js
Expand Up @@ -23,7 +23,7 @@ function findParent(node) {
if (!parentRow) {
return null;
}
return parentRow.firstChild.firstChild;
return parentRow.children[0].children[0];
}

/**
Expand Down

0 comments on commit 0166c93

Please sign in to comment.