From 78a42c80388266789f017d5ec8db8d9d3d367da2 Mon Sep 17 00:00:00 2001 From: Patrick Tang Date: Sun, 24 Nov 2024 02:27:17 -0800 Subject: [PATCH] Change for ICC --- step-web/src/main/webapp/js/step.util.js | 5 ++++- 1 file changed, 4 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 1704fcb4aa..dfbbdefdec 100644 --- a/step-web/src/main/webapp/js/step.util.js +++ b/step-web/src/main/webapp/js/step.util.js @@ -2831,6 +2831,9 @@ step.util = { if (typeof bookOrderInBible === "number") { var lastChapter = step.passageSelect.osisChapterJsword[bookOrderInBible][1]; if (typeof lastChapter === "number") { + if (typeof summary["chapter_1_icc_url"] === "string") + bookSummary += "

Links to ICC commentary are listed as ICC

" + bookSummary += '
'; for (var curChapter = 1; curChapter <= lastChapter; curChapter ++) { var jsonName = "chapter_" + curChapter + "_header"; @@ -2854,7 +2857,7 @@ step.util = { var titleTag = ""; if ((typeof summary[jsonName] === "string") && (summary[jsonName] !== "")) titleTag = ' title="page ' + summary[jsonName] + '"'; - bookSummary += ' ICC commentary'; + bookSummary += ' ICC'; } bookSummary += ""; }
ChapterDescription