1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix unfinished custom element

This commit is contained in:
Dmitry Lyzo 2021-04-26 00:22:03 +03:00
parent 63a355518f
commit c9cb69236b

View file

@ -256,6 +256,8 @@ import ServerConnections from '../components/ServerConnections';
}
elem.innerHTML = html;
window.CustomElements.upgradeSubtree(elem);
const elems = elem.querySelectorAll('.itemsContainer');
for (let i = 0, length = elems.length; i < length; i++) {