Skip to content

Commit 0166c93

Browse files
Merge pull request #44 from Jorriss/master
Replaced firstChild with children[0] in findParent.
2 parents bc1e46e + 6363b37 commit 0166c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/svgLines.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function findParent(node) {
2323
if (!parentRow) {
2424
return null;
2525
}
26-
return parentRow.firstChild.firstChild;
26+
return parentRow.children[0].children[0];
2727
}
2828

2929
/**

0 commit comments

Comments
 (0)