Only instantiate the first child

This commit is contained in:
toasted-nutbread 2019-12-27 15:33:49 -05:00
parent 6c58cbcf51
commit c53947a94a

View File

@ -330,7 +330,6 @@ class DisplayGenerator {
}
static _instantiateTemplate(template) {
const content = document.importNode(template.content, true);
return content.firstChild;
return document.importNode(template.content.firstChild, true);
}
}