Skip to content

Commit

Permalink
Avoid comment constructor for IE support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Jan 31, 2018
1 parent 1c74ecd commit a39cfd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/templatize.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
} else if (n.localName === 'slot') {
if (hide) {
n.__polymerParent__ = n.parentNode;
n.__polymerReplaced__ = new Comment('hidden-slot');
n.__polymerReplaced__ = document.createComment('hidden-slot');
n.parentNode.replaceChild(n.__polymerReplaced__, n);
} else {
const parent = n.__polymerParent__;
Expand Down

0 comments on commit a39cfd1

Please sign in to comment.