diff --git a/src/lib/annotations/annotations.html b/src/lib/annotations/annotations.html index 560af7ed04..438d4fdc21 100644 --- a/src/lib/annotations/annotations.html +++ b/src/lib/annotations/annotations.html @@ -272,10 +272,10 @@ _replaceSlotWithContent: function(slot) { var content = slot.ownerDocument.createElement('content'); - var attrs = slot.attributes; while (slot.firstChild) { content.appendChild(slot.firstChild); } + var attrs = slot.attributes; for (var i=0; i