mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Merge branch 'v0.3' of https://github.com/futurepress/epub.js into v0.3
This commit is contained in:
commit
dd1c60e6d6
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue