mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix issues navigating home screen tabs
This commit is contained in:
parent
31e0589cca
commit
614afb1f3f
2 changed files with 19 additions and 28 deletions
|
@ -294,10 +294,9 @@ class FavoritesTab {
|
|||
}
|
||||
|
||||
onPause() {
|
||||
const elems = this.sectionsContainer.querySelectorAll('.itemsContainer');
|
||||
|
||||
for (const elem of elems) {
|
||||
elem.pause();
|
||||
if (this.sectionsContainer) {
|
||||
Array.from(this.sectionsContainer.querySelectorAll('.itemsContainer'))
|
||||
.forEach(e => { e.pause(); });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue