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];