From c00016fa1996e2d206b282c5f966ea141eb5d638 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Sat, 4 Jul 2020 08:55:43 +0000 Subject: [PATCH] Remove link to title page from the entry modal --- public/js/title.js | 3 --- src/views/components/entry-modal.html.ecr | 3 --- 2 files changed, 6 deletions(-) diff --git a/public/js/title.js b/public/js/title.js index 44a83dc4..48c9147d 100644 --- a/public/js/title.js +++ b/public/js/title.js @@ -36,9 +36,6 @@ function showModal(encodedPath, pages, percentage, encodedeTitle, encodedEntryTi $('#continue-btn').text('Continue from ' + percentage + '%'); } - $('#modal-title-link').text(title); - $('#modal-title-link').attr('href', `${base_url}book/${titleID}`); - $('#modal-entry-title').find('span').text(entry); $('#modal-entry-title').next().attr('data-id', titleID); $('#modal-entry-title').next().attr('data-entry-id', entryID); diff --git a/src/views/components/entry-modal.html.ecr b/src/views/components/entry-modal.html.ecr index 672e5c3a..bbc06062 100644 --- a/src/views/components/entry-modal.html.ecr +++ b/src/views/components/entry-modal.html.ecr @@ -3,9 +3,6 @@
- <% if page == "home" %> -

- <% end %>

  <% unless page == "home" %>