Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksptang committed Jun 23, 2024
1 parent e7f090f commit a101179
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";
Expand Down

0 comments on commit a101179

Please sign in to comment.