Only instantiate the first child
This commit is contained in:
parent
6c58cbcf51
commit
c53947a94a
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user