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

Add check for undefined elem in renderRecordings

This commit is contained in:
Bill Thornton 2020-03-04 12:42:45 -05:00
parent 4dd09a0586
commit 2b817073d8

View file

@ -2,6 +2,10 @@ define(["layoutManager", "loading", "cardBuilder", "apphost", "imageLoader", "sc
"use strict";
function renderRecordings(elem, recordings, cardOptions, scrollX) {
if (!elem) {
return;
}
if (recordings.length) {
elem.classList.remove("hide");
} else {