1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix suggestions and rebase issues

This commit is contained in:
MrTimscampi 2020-08-09 15:03:41 +02:00
parent 37abd530eb
commit 0643e29404
10 changed files with 33 additions and 34 deletions

View file

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