From 3f753541a3f5a779f727c9a238a8df1b54e30a05 Mon Sep 17 00:00:00 2001 From: Michael Nolan Date: Sun, 3 Sep 2023 13:53:00 -0500 Subject: [PATCH] Fix Chapter UI --- BibleServerCli/data/www/chapter/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BibleServerCli/data/www/chapter/index.html b/BibleServerCli/data/www/chapter/index.html index 3320624..6f4a128 100644 --- a/BibleServerCli/data/www/chapter/index.html +++ b/BibleServerCli/data/www/chapter/index.html @@ -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";