mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove outdated comment
This commit is contained in:
parent
b3056ee321
commit
c6c263de99
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,6 @@ export class ComicsPlayer {
|
||||||
}
|
}
|
||||||
|
|
||||||
duration() {
|
duration() {
|
||||||
// 1000 is an arbitrary value copied over from the bookPlayer
|
|
||||||
return this.pageCount;
|
return this.pageCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -185,6 +184,7 @@ export class ComicsPlayer {
|
||||||
|
|
||||||
this.pageCount = this.archiveSource.urls.length;
|
this.pageCount = this.archiveSource.urls.length;
|
||||||
this.currentPage = options.startPositionTicks / 10000 || 0;
|
this.currentPage = options.startPositionTicks / 10000 || 0;
|
||||||
|
|
||||||
this.swiperInstance = new Swiper(elem.querySelector('.slideshowSwiperContainer'), {
|
this.swiperInstance = new Swiper(elem.querySelector('.slideshowSwiperContainer'), {
|
||||||
direction: 'horizontal',
|
direction: 'horizontal',
|
||||||
// loop is disabled due to the lack of Swiper support in virtual slides
|
// loop is disabled due to the lack of Swiper support in virtual slides
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue