Skip to content

Commit

Permalink
Remove link to title page from the entry modal
Browse files Browse the repository at this point in the history
  • Loading branch information
hkalexling committed Jul 4, 2020
1 parent 4d5a305 commit c00016f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions public/js/title.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 0 additions & 3 deletions src/views/components/entry-modal.html.ecr
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
<button class="uk-modal-close-default" type="button" uk-close></button>
<div class="uk-modal-header">
<div>
<% if page == "home" %>
<h4 class="uk-margin-remove-bottom"><a id="modal-title-link"></a></h4>
<% end %>
<h3 class="uk-modal-title break-word uk-margin-remove-top" id="modal-entry-title"><span></span>
&nbsp;
<% unless page == "home" %>
Expand Down

0 comments on commit c00016f

Please sign in to comment.