From 76c29134b374efb6aed56839b66088ceedc415d3 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 16 May 2021 19:52:08 -0400 Subject: Revert "Add support for custom text type generation (#1683)" (#1684) This reverts commit 39cabc4db61047923712edcca6bedfd001d5d151. --- ext/js/display/display-generator.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'ext') 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); } -- cgit v1.2.3