mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Fixed wrong function name for parsing epub toc
This commit is contained in:
parent
2d261a85b4
commit
e7df931fd2
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ function Navigation(_package, _request){
|
|||
var loaded = loading.promise;
|
||||
|
||||
request(navigation.ncxUrl, 'xml').then(function(xml){
|
||||
navigation.toc = parse.ncx(xml);
|
||||
navigation.toc = parse.toc(xml);
|
||||
navigation.loaded(navigation.toc);
|
||||
loading.resolve(navigation.toc);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue