From 88b16445e2cc8bd5fffcd5b00a609064ba040a04 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Sun, 15 Mar 2020 02:55:35 +0000 Subject: [PATCH] Show entry title instead of book title in modal --- public/js/title.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/title.js b/public/js/title.js index a9af970..a719fb7 100644 --- a/public/js/title.js +++ b/public/js/title.js @@ -15,7 +15,7 @@ function showModal(encodedPath, pages, percentage, encodedeTitle, encodedEntryTi if (percentage === 100) { $('#read-btn').attr('hidden', ''); } - $('#modal-title').text(title); + $('#modal-title').text(entry); $('#path-text').text(zipPath); $('#pages-text').text(pages + ' pages');