Fix Chapter UI

This commit is contained in:
Mike Nolan 2023-09-03 13:53:00 -05:00
parent a246003a51
commit 3f753541a3
1 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@
const subtitle = document.getElementById('subtitle');
const bible_link = document.getElementById('bible_link');
const book_link = document.getElementById('book_link');
const chapter_link = document.getElementById('chapter_link');
//List Of Books in the
function init()
{
@ -57,7 +58,7 @@
bible_link.innerText=bible;
book_link.innerText=book;
book_link.href = `./book?bible=${encodeURIComponent(bible)}&book=${encodeURIComponent(book)}`;
chapter_link.innerText=`Chapter ${chapter}`;
fetch(`./api/v1/GetChapterCount${window.location.search}`).then(e=>e.json()).then(e=>{
var firstLink = document.createElement('a');
firstLink.innerText = "First";