Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksptang committed Mar 8, 2024
1 parent 1a754dd commit 30a0670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion step-web/src/main/webapp/js/backbone/views/view_sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,7 @@ var SidebarView = Backbone.View.extend({
message = "based on Teknia Greek";
panel.append($("<" + headerType + " title='" + message + "'>").append(__s.lexicon_meaning));
var firstLetterOfStrong = mainWord.strongNumber.charAt(0);
var addedLineBreaks = false;
if (firstLetterOfStrong === "H") {
var stem = "";
if ((typeof morphInfo === "object") && (typeof morphInfo.stem === "string")) {
Expand Down Expand Up @@ -783,7 +784,6 @@ var SidebarView = Backbone.View.extend({
}
else if (firstLetterOfStrong === "G") {
var parts = mainWord.mediumDef.split(/<ref/i);
var addedLineBreaks = false;
var pos = parts[0].indexOf(";");
if (pos > -1) {
parts[0] = parts[0].replace(/;/g, ";<br>");
Expand Down

0 comments on commit 30a0670

Please sign in to comment.