mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #2038 from cvium/fix_lazyloader_observer_for_collections
Create 1 lazyloader observer per collection type
This commit is contained in:
commit
cbe57f28ff
1 changed files with 1 additions and 1 deletions
|
@ -1727,7 +1727,7 @@ function renderCollectionItemType(page, parentItem, type, items) {
|
|||
html += '</div>';
|
||||
const collectionItems = page.querySelector('.collectionItems');
|
||||
collectionItems.insertAdjacentHTML('beforeend', html);
|
||||
imageLoader.lazyChildren(collectionItems);
|
||||
imageLoader.lazyChildren(collectionItems.lastChild);
|
||||
}
|
||||
|
||||
function renderMusicVideos(page, item, user) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue