summaryrefslogtreecommitdiff
path: root/ext/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js')
-rw-r--r--ext/js/display/display-generator.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/js/display/display-generator.js b/ext/js/display/display-generator.js
index eb9c122d..7a291e3b 100644
--- a/ext/js/display/display-generator.js
+++ b/ext/js/display/display-generator.js
@@ -293,6 +293,8 @@ class DisplayGenerator {
return this._createTermDefinitionEntryText(entry);
} else if (typeof entry === 'object' && entry !== null) {
switch (entry.type) {
+ case 'text':
+ return this._createTermDefinitionEntryText(entry.text);
case 'image':
return this._createTermDefinitionEntryImage(entry, dictionary);
}