Show entry title instead of book title in modal

This commit is contained in:
Alex Ling 2020-03-15 02:55:35 +00:00
parent 7774efa471
commit 88b16445e2

View File

@ -15,7 +15,7 @@ function showModal(encodedPath, pages, percentage, encodedeTitle, encodedEntryTi
if (percentage === 100) { if (percentage === 100) {
$('#read-btn').attr('hidden', ''); $('#read-btn').attr('hidden', '');
} }
$('#modal-title').text(title); $('#modal-title').text(entry);
$('#path-text').text(zipPath); $('#path-text').text(zipPath);
$('#pages-text').text(pages + ' pages'); $('#pages-text').text(pages + ' pages');