From dff293947ca6d297164949b6777be1774a567855 Mon Sep 17 00:00:00 2001 From: Patrick Tang <36460266+patricksptang@users.noreply.github.com> Date: Fri, 8 Mar 2024 00:33:38 -0800 Subject: [PATCH] remove conflict of lexicon ul and links to Strong --- .../webapp/js/backbone/views/view_sidebar.js | 38 +++++++++++-------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/step-web/src/main/webapp/js/backbone/views/view_sidebar.js b/step-web/src/main/webapp/js/backbone/views/view_sidebar.js index a2237fb5f2..8bcf04fee8 100644 --- a/step-web/src/main/webapp/js/backbone/views/view_sidebar.js +++ b/step-web/src/main/webapp/js/backbone/views/view_sidebar.js @@ -315,7 +315,7 @@ var SidebarView = Backbone.View.extend({ ); }, - _addLinkAndAppend: function (panel, textToAdd, currentWordLangCode, bibleVersion) { + _addLinkAndAppend: function (panel, textToAdd, currentWordLangCode, bibleVersion, changeBreakToList) { // Find all ref tag and change // panel.append(' PASSAGE2 '); // '' . PASSAGE2 . ''; @@ -355,7 +355,21 @@ var SidebarView = Backbone.View.extend({ } textToAdd2 += remainingText; } - remainingText = textToAdd2; + if (changeBreakToList) { + var partsBetweenBreak = textToAdd2.split("
"); + var orderList = $("