Skip to content

Commit

Permalink
Use local parentNode
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Apr 17, 2017
1 parent ee3b9a6 commit 2e4290f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/template/dom-if.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
if (!parentNode ||
(parentNode.nodeType == Node.DOCUMENT_FRAGMENT_NODE &&
(!Polymer.Settings.hasShadow ||
!(this.parentNode instanceof ShadowRoot)))) {
!(parentNode instanceof ShadowRoot)))) {
this._teardownInstance();
}
},
Expand Down

0 comments on commit 2e4290f

Please sign in to comment.