Skip to content

Commit

Permalink
Handle nomorph in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksptang committed Oct 1, 2024
1 parent d04ab4d commit 2c18c55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions step-web/src/main/webapp/js/color_code_grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -1394,6 +1394,8 @@ var cf = {
var code = morphs[i];
if (code.indexOf('TOS:') == 0)
code = code.substr(4);
if (code === "nomorph")
return;
var languageCode = code.substr(0, 1);
cf.getSpecificMorphologyInfo(languageCode, "language", result);
var descriptionCode = code.substr(1) + code.substr(0, 1);
Expand Down

0 comments on commit 2c18c55

Please sign in to comment.