Skip to content

Commit

Permalink
Remove specific xhtml path in display
Browse files Browse the repository at this point in the history
  • Loading branch information
fchasen committed May 15, 2020
1 parent 9c3f603 commit a0cd9d4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/rendition.js
Expand Up @@ -327,10 +327,6 @@ class Rendition {

section = this.book.spine.get(target);

if (!section && target.includes(".xhtml")) {
section = this.book.spine.get("xhtml/" + target);
}

if(!section){
displaying.reject(new Error("No Section Found"));
return displayed;
Expand Down

0 comments on commit a0cd9d4

Please sign in to comment.