Skip to content

Commit

Permalink
Merge pull request #10 from JoshuaKlassen/jklassen/de24075-svg-support
Browse files Browse the repository at this point in the history
Support non-Node elements
  • Loading branch information
omsmith authored Feb 17, 2017
2 parents ce7bd6e + 36cc5a6 commit d277c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d2l-dom.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
if (node.shadowRoot) {
node = node.shadowRoot;
}
nodes = node.children;
nodes = node.children || node.childNodes;
}

for (var i = 0; i < nodes.length; i++) {
Expand Down

0 comments on commit d277c76

Please sign in to comment.