mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Add RTL support
This commit is contained in:
parent
8999feb613
commit
9b6e864ae4
10 changed files with 380 additions and 111 deletions
|
@ -9,7 +9,7 @@ class Navigation {
|
|||
this.toc = [];
|
||||
this.tocByHref = {};
|
||||
this.tocById = {};
|
||||
|
||||
this.length = 0;
|
||||
if (xml) {
|
||||
this.parse(xml);
|
||||
}
|
||||
|
@ -54,6 +54,7 @@ class Navigation {
|
|||
this.tocById[item.id] = i;
|
||||
}
|
||||
|
||||
this.length = toc.length;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue