summaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/js/display-generator.js3
1 files changed, 1 insertions, 2 deletions
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);
}
}