Skip to content

Commit

Permalink
LogosHTML: No comment search field in footnote
Browse files Browse the repository at this point in the history
  • Loading branch information
schierlm committed Jan 20, 2024
1 parent ed27e77 commit c992f31
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ public void visitStart() throws IOException {
fieldOn = true;
writer.write(searchField("bible", true, 0, verseReference));
}
} else if (suffixStack.size() == 1 && versemap != null) {
} else if (suffixStack.size() == 1 && versemap != null && footnoteWriter != null) {
fieldOn = true;
writer.write(searchField("comment", true, 0, verseReference));
}
Expand All @@ -722,7 +722,7 @@ public boolean visitEnd() throws IOException {
suffixStack.set(suffixStack.size() - 1, "");
grammarFlag = true;
}
if (suffixStack.size() == 1 && versemap != null) {
if (suffixStack.size() == 1 && versemap != null && footnoteWriter != null) {
writer.write(searchField(fieldPrefix != null ? "bible" : "comment", false, 0, verseReference));
fieldOn = false;
}
Expand Down

0 comments on commit c992f31

Please sign in to comment.