mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update dialog id and rename some variables
This commit is contained in:
parent
90babaca9f
commit
f75ad14c32
1 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ export class ComicsPlayer {
|
|||
}
|
||||
|
||||
play(options) {
|
||||
this._progress = 0;
|
||||
this.progress = 0;
|
||||
|
||||
let elem = this.createMediaElement();
|
||||
return this.setCurrentSrc(elem, options);
|
||||
|
@ -75,7 +75,7 @@ export class ComicsPlayer {
|
|||
removeOnClose: true
|
||||
});
|
||||
|
||||
elem.id = 'bookPlayer';
|
||||
elem.id = 'comicsPlayer';
|
||||
elem.classList.add('slideshowDialog');
|
||||
|
||||
elem.innerHTML = '<div class="slideshowSwiperContainer"><div class="swiper-wrapper"></div></div>';
|
||||
|
@ -90,7 +90,7 @@ export class ComicsPlayer {
|
|||
|
||||
setCurrentSrc(elem, options) {
|
||||
let item = options.items[0];
|
||||
this._currentItem = item;
|
||||
this.currentItem = item;
|
||||
|
||||
loading.show();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue