Skip to content

Commit

Permalink
Merge pull request #44 from sjmiles/master
Browse files Browse the repository at this point in the history
fixes issue #30: allow findController to step out of lightDOM
  • Loading branch information
Steve Orvell committed Nov 30, 2012
2 parents 6885c56 + 36518b1 commit f479864
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/g-component.html
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,9 @@
var n = inNode.changeling || inNode;
while (n.parentNode && n.tagName !== 'SHADOW-ROOT') {
n = n.parentNode;
if (n.lightDOM) {
n = n.host;
}
if (n.changeling) {
n = n.changeling;
}
Expand Down

0 comments on commit f479864

Please sign in to comment.