This reverts commit 39cabc4db6
.
This commit is contained in:
parent
39cabc4db6
commit
76c29134b3
@ -293,8 +293,6 @@ class DisplayGenerator {
|
|||||||
return this._createTermDefinitionEntryText(entry);
|
return this._createTermDefinitionEntryText(entry);
|
||||||
} else if (typeof entry === 'object' && entry !== null) {
|
} else if (typeof entry === 'object' && entry !== null) {
|
||||||
switch (entry.type) {
|
switch (entry.type) {
|
||||||
case 'text':
|
|
||||||
return this._createTermDefinitionEntryText(entry.text);
|
|
||||||
case 'image':
|
case 'image':
|
||||||
return this._createTermDefinitionEntryImage(entry, dictionary);
|
return this._createTermDefinitionEntryImage(entry, dictionary);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user