diff --git a/step-web/src/main/webapp/js/backbone/views/view_display_passage.js b/step-web/src/main/webapp/js/backbone/views/view_display_passage.js index 920b134891..1a3ac74e8a 100644 --- a/step-web/src/main/webapp/js/backbone/views/view_display_passage.js +++ b/step-web/src/main/webapp/js/backbone/views/view_display_passage.js @@ -38,12 +38,12 @@ var PassageDisplayView = DisplayView.extend({ // check if OT or NT 12/13/2023 PT // console.log("place to add NT OT check: "+reference+ " " +bibleVersions); var justLoadedTOS = false; - if ((bibleVersions.indexOf('ESV') > -1) || (bibleVersions.indexOf('THOT') > -1) || (bibleVersions.indexOf('OSHB') > -1)) { + if ((bibleVersions.indexOf('ESV') > -1) || (bibleVersions.indexOf('THOT') > -1) || (bibleVersions.indexOf('OSHB') > -1) || (bibleVersions.indexOf('NASB2020_morph') > -1)) { justLoadedTOS = step.util.loadTOS(); hasTOS = true; } if ((bibleVersions.indexOf('ESV') > -1) || (bibleVersions.indexOf('KJV') > -1) || - (bibleVersions.indexOf('SBLG') > -1) || (bibleVersions.indexOf('THGNT') > -1) || (bibleVersions.indexOf('CUN') > -1)) + (bibleVersions.indexOf('SBLG') > -1) || (bibleVersions.indexOf('THGNT') > -1) || (bibleVersions.indexOf('CUN') > -1) || (bibleVersions.indexOf('NASB2020_morph') > -1)) hasNTMorph = true; if (this.partRendered) { if (cv[C_colorCodeGrammarAvailableAndSelected]) { diff --git a/step-web/src/main/webapp/js/backbone/views/view_display_search.js b/step-web/src/main/webapp/js/backbone/views/view_display_search.js index d1c3d90e0b..196215fd84 100644 --- a/step-web/src/main/webapp/js/backbone/views/view_display_search.js +++ b/step-web/src/main/webapp/js/backbone/views/view_display_search.js @@ -75,12 +75,12 @@ var SearchDisplayView = DisplayView.extend({ var passageHtml, ntCSSOnThisPage = '', otCSSOnThisPage = '', hasTOS = false, hasNTMorph = false; var bibleVersions = this.model.attributes.masterVersion.toUpperCase() + "," + this.model.attributes.extraVersions.toUpperCase(); if ((bibleVersions.indexOf('ESV') > -1) || (bibleVersions.indexOf('OSHB') > -1) || - (bibleVersions.indexOf('THOT') > -1)) { + (bibleVersions.indexOf('THOT') > -1) || (bibleVersions.indexOf('NASB2020_morph') > -1)) { step.util.loadTOS(); hasTOS = true; } if ((bibleVersions.indexOf('ESV') > -1) || (bibleVersions.indexOf('KJV') > -1) || - (bibleVersions.indexOf('SBLG') > -1) || (bibleVersions.indexOf('THGNT') > -1) || (bibleVersions.indexOf('CUN') > -1)) hasNTMorph = true; + (bibleVersions.indexOf('SBLG') > -1) || (bibleVersions.indexOf('THGNT') > -1) || (bibleVersions.indexOf('CUN') > -1) || (bibleVersions.indexOf('NASB2020_morph') > -1)) hasNTMorph = true; results = this.options.partRendered ? this.$el.find("> span") : this.renderSearch(append, this.$el.find(".searchResults")); if (cv[C_colorCodeGrammarAvailableAndSelected]) {