From a0cd9d422a1425c61358c6059b29796a8150b364 Mon Sep 17 00:00:00 2001 From: Fred Chasen Date: Fri, 15 May 2020 08:57:38 -0700 Subject: [PATCH] Remove specific xhtml path in display --- src/rendition.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/rendition.js b/src/rendition.js index 432dd8bc8..4a657793e 100644 --- a/src/rendition.js +++ b/src/rendition.js @@ -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;