Fix suggestions and rebase issues
This commit is contained in:
parent
37abd530eb
commit
0643e29404
10 changed files with 33 additions and 34 deletions
|
@ -94,7 +94,9 @@ export class BookPlayer {
|
|||
|
||||
onWindowKeyUp(e) {
|
||||
const key = keyboardnavigation.getKeyName(e);
|
||||
const rendition = this._rendition;
|
||||
|
||||
// TODO: depending on the event this can be the document or the rendition itself
|
||||
const rendition = this._rendition || this;
|
||||
const book = rendition.book;
|
||||
|
||||
if (this._loaded === false) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue