Skip to content

Commit a39cfd1

Browse files
author
Steven Orvell
committed
Avoid comment constructor for IE support.
1 parent 1c74ecd commit a39cfd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/templatize.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
} else if (n.localName === 'slot') {
177177
if (hide) {
178178
n.__polymerParent__ = n.parentNode;
179-
n.__polymerReplaced__ = new Comment('hidden-slot');
179+
n.__polymerReplaced__ = document.createComment('hidden-slot');
180180
n.parentNode.replaceChild(n.__polymerReplaced__, n);
181181
} else {
182182
const parent = n.__polymerParent__;

0 commit comments

Comments
 (0)