mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
small fixes
This commit is contained in:
parent
cf603fcca8
commit
105a3a36d6
7 changed files with 150 additions and 64 deletions
|
@ -70,7 +70,7 @@ EPUBJS.Navigation.prototype.loaded = function(toc) {
|
|||
var item;
|
||||
|
||||
for (var i = 0; i < toc.length; i++) {
|
||||
var item = toc[i];
|
||||
item = toc[i];
|
||||
this.tocByHref[item.href] = i;
|
||||
this.tocById[item.id] = i;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue