Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksptang committed Jul 15, 2024
1 parent 04baece commit 2aa60fd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ var QuickLexicon = Backbone.View.extend({
else {
step.util.getFrequency(self.version, data);
for (var i = 0; i < data.vocabInfos.length; i++) {
if (data.vocabInfos[i] == null) continue;
if (typeof data.vocabInfos[i].mediumDef === "string") {
if ((typeof data.vocabInfos[i].shortDef === "string") && (data.vocabInfos[i].shortDef.length > 2)) {
var pos = data.vocabInfos[i].mediumDef.indexOf(data.vocabInfos[i].shortDef);
Expand Down

0 comments on commit 2aa60fd

Please sign in to comment.