1
0
Fork 0
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:
Gerhard Sletten 2016-04-20 23:08:19 +02:00
parent 2d261a85b4
commit e7df931fd2

View file

@ -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);
});