From e7f090f2a0ce9e68813c604d70a1e07b11884232 Mon Sep 17 00:00:00 2001 From: Patrick Tang Date: Sun, 23 Jun 2024 00:10:05 -0700 Subject: [PATCH] fix --- .../src/main/webapp/js/backbone/views/view_quick_lexicon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/step-web/src/main/webapp/js/backbone/views/view_quick_lexicon.js b/step-web/src/main/webapp/js/backbone/views/view_quick_lexicon.js index 7d8486e210..fb8e576024 100644 --- a/step-web/src/main/webapp/js/backbone/views/view_quick_lexicon.js +++ b/step-web/src/main/webapp/js/backbone/views/view_quick_lexicon.js @@ -197,7 +197,7 @@ var QuickLexicon = Backbone.View.extend({ if (strongNumbers.length == 1) strongNumbers = this.strong.split(","); // if ((typeof this.morph !== "undefined") && (this.morph.indexOf('TOS:') == 0)) { - if ((typeof this.morph === "string") && (strongNumbers.length > 0) && (strongNumbers.substring(0, 1) === "H")) + if ((typeof this.morph === "string") && (strongNumbers.length > 0) && (strongNumbers[0].substring(0, 1) === "H")) lastMorphCode = this.morph; if ((typeof self.reference === "string") && (typeof self.strong === "string")) step.previousSideBarLexiconRef = [self.strong, self.reference];