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 fb8e576024..c4653d2f12 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,8 +197,11 @@ 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[0].substring(0, 1) === "H")) + if ((typeof this.morph === "string") && (strongNumbers.length > 0) && (strongNumbers[0].substring(0, 1) === "H")) { + if (this.morph.substring(0, 4) !== "TOS:") + this.morph = "TOS:" + this.morph; lastMorphCode = this.morph; + } if ((typeof self.reference === "string") && (typeof self.strong === "string")) step.previousSideBarLexiconRef = [self.strong, self.reference]; var strongsToUse = "";