From c9ccba41daa50ecebfaff954e31eb1810374f819 Mon Sep 17 00:00:00 2001 From: Patrick Tang Date: Sat, 30 Mar 2024 00:34:47 -0700 Subject: [PATCH] prevent lookup of KJV lemma tag in strong --- step-web/src/main/webapp/js/step.util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/step-web/src/main/webapp/js/step.util.js b/step-web/src/main/webapp/js/step.util.js index 9610151d67..0836f76446 100644 --- a/step-web/src/main/webapp/js/step.util.js +++ b/step-web/src/main/webapp/js/step.util.js @@ -3861,7 +3861,8 @@ step.util = { var strongArray = strong.split(" "); var uniqueStrongArray = []; for (var j = 0; j < strongArray.length; j++) { // remove duplicates - if (uniqueStrongArray.indexOf(strongArray[j]) == -1) + if ((strongArray[j].indexOf("lemma") > -1) && // KJV has some non strong tags + (uniqueStrongArray.indexOf(strongArray[j]) == -1)) uniqueStrongArray.push(strongArray[j]); } var additionalPath = step.state.getCurrentVersion();