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 1d0c100 commit 9009508
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ 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
1 change: 0 additions & 1 deletion step-web/src/main/webapp/js/step.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -4375,7 +4375,6 @@ step.util = {
var testamentOfFrequency = result[1];
if (versionIndex > -1) {
for (var i = 0; i < data.vocabInfos.length; i++) {
if (data.vocabInfos[i] == null) continue;
if (typeof data.vocabInfos[i].freqList !== "string") {
if (typeof data.vocabInfos[i].popularityList === "string")
data.vocabInfos[i].freqList = data.vocabInfos[i].popularityList;
Expand Down

0 comments on commit 9009508

Please sign in to comment.