1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00
This commit is contained in:
Fred Chasen 2016-12-12 21:08:17 +01:00
commit dd1c60e6d6

View file

@ -333,9 +333,9 @@ class Book {
this.toc = this.navigation.toc;
this.loading.navigation.resolve(this.navigation);
});
this.cover = this.resolve(this.package.coverPath);
if (this.package.coverPath) {
this.cover = this.resolve(this.package.coverPath);
}
// Resolve promises
this.loading.manifest.resolve(this.package.manifest);
this.loading.metadata.resolve(this.package.metadata);