mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Use NodeList instead of HTMLCollection
This commit is contained in:
parent
7c2472785b
commit
233fe7dd33
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ import 'css!./style';
|
|||
|
||||
export function lazyChildren(elem) {
|
||||
if (userSettings.enableBlurhash()) {
|
||||
for (const lazyElem of elem.getElementsByClassName('lazy')) {
|
||||
for (const lazyElem of elem.querySelectorAll('.lazy')) {
|
||||
const blurhashstr = lazyElem.getAttribute('data-blurhash');
|
||||
if (!lazyElem.classList.contains('blurhashed', 'non-blurhashable') && blurhashstr) {
|
||||
itemBlurhashing(lazyElem, blurhashstr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue