Minor bugfix

This commit is contained in:
Calvin Montgomery 2018-01-14 15:43:12 -08:00
parent 1797e11b43
commit 326e67893c
1 changed files with 1 additions and 1 deletions

View File

@ -3229,7 +3229,7 @@ function stopQueueSpinner(data) {
// TODO: this is a temp hack, need to replace media ID check with
// a passthrough request ID (since media ID from API is not necessarily
// the same as the URL "ID" from the user)
if (data.type === "us") {
if (data && data.type === "us") {
data = { id: data.title.match(/Ustream.tv - (.*)/)[1] };
}