mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Fix for 528
This commit is contained in:
parent
dff2b040a0
commit
c0533232d6
2 changed files with 3 additions and 5 deletions
|
@ -243,7 +243,7 @@ class Rendition {
|
|||
// removing the chapter
|
||||
if(!isCfiString && typeof target === "string" &&
|
||||
target.indexOf("#") > -1) {
|
||||
moveTo = target;
|
||||
moveTo = target.substring(target.indexOf("#")+1);
|
||||
}
|
||||
|
||||
if (isCfiString) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue