Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Commit

Permalink
Fix .opf reading for recommendations page
Browse files Browse the repository at this point in the history
  • Loading branch information
scooterpsu committed Jul 13, 2021
1 parent a1d47e0 commit 9893cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comixology2/themeScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -2255,7 +2255,7 @@ function rebuildBookDetails(rootPath, xmlhttp, whichPage){
var bookFilename = $(whichPage+' #coverImg').find('img').attr('src').split('?cover=true')[0].split('/').pop().split('.pdf')[0];
var grepResult = $.grep(IDcache["books"], function(e){ return e.label == authorName && e.parent == booksBaseID; });
if((location.href.indexOf("/comics/") == -1)&&(location.href.indexOf("/books/") == -1)){
if(location.href.indexOf("mybooks.htm") != -1){
if((location.href.indexOf("mybooks.htm") != -1)||(location.href.indexOf("recommendations.htm") != -1)){
var opfPath = '../books/';
}else{
var opfPath = 'books/';
Expand Down

0 comments on commit 9893cae

Please sign in to comment.