Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Floydv149 committed Apr 16, 2024
1 parent 1a0e841 commit 17e9649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ export default class BibleLinkerPro extends Plugin {
const bibleBookQuery = input.split(" ")[0].toLowerCase();
for (let i = 0; i < bibleBooks.length; i++) {
if (bibleBooks[i].includes(bibleBookQuery)) {
if (i.toString().length == 1) {
if ((i + 1).toString().length == 1) {
linkOutput += "0" + (i + 1);
} else {
linkOutput += i + 1;
Expand Down

0 comments on commit 17e9649

Please sign in to comment.