diff --git a/ext/mixed/js/display-generator.js b/ext/mixed/js/display-generator.js index 1921a454..44b250e7 100644 --- a/ext/mixed/js/display-generator.js +++ b/ext/mixed/js/display-generator.js @@ -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); } }