From 84229ce0f414a64082b0c4c183dc44e5cabddd63 Mon Sep 17 00:00:00 2001 From: Patrick Tang <36460266+patricksptang@users.noreply.github.com> Date: Sat, 11 Nov 2023 16:13:48 -0800 Subject: [PATCH] fix --- step-web/src/main/webapp/js/step.util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/step-web/src/main/webapp/js/step.util.js b/step-web/src/main/webapp/js/step.util.js index dd134d7c01..d40825cba7 100644 --- a/step-web/src/main/webapp/js/step.util.js +++ b/step-web/src/main/webapp/js/step.util.js @@ -3765,8 +3765,8 @@ step.util = { $.ajaxSetup({async: false}); for (var j = 0; j < strongArray.length; j++) { var strongWithoutAugment = step.util.fixStrongNumForVocabInfo(strongArray[j], true); - if (processedStrong.indexOf(strongWithoutAugment) == -1) { - processedStrong.push(strongWithoutAugment); + if (processedStrong.indexOf(strongArray[j]) == -1) { + processedStrong.push(strongArray[j]); $.getJSON("/html/lexicon/" + additionalPath + strongWithoutAugment + ".json", function(origJsonVar) { var augStrongIndex = -1; var defaultDStrong = -1;