diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-05-16 19:52:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-16 19:52:08 -0400 |
commit | 76c29134b374efb6aed56839b66088ceedc415d3 (patch) | |
tree | 9cb1d83faacf133f61c3a96156ea6de1541e5233 /ext/js/display/display-generator.js | |
parent | 39cabc4db61047923712edcca6bedfd001d5d151 (diff) |
Revert "Add support for custom text type generation (#1683)" (#1684)
This reverts commit 39cabc4db61047923712edcca6bedfd001d5d151.
Diffstat (limited to 'ext/js/display/display-generator.js')
-rw-r--r-- | ext/js/display/display-generator.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/js/display/display-generator.js b/ext/js/display/display-generator.js index 7a291e3b..eb9c122d 100644 --- a/ext/js/display/display-generator.js +++ b/ext/js/display/display-generator.js @@ -293,8 +293,6 @@ 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); } |