1
0
Fork 0
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:
Bill Thornton 2022-12-13 10:23:48 -05:00
parent 31e0589cca
commit 614afb1f3f
2 changed files with 19 additions and 28 deletions

View file

@ -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(); });
}
}