From 326e67893cca532d56dd4f6f42080658f8750520 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Sun, 14 Jan 2018 15:43:12 -0800 Subject: [PATCH] Minor bugfix --- www/js/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/util.js b/www/js/util.js index 76cd7e9f..ff47cf1b 100644 --- a/www/js/util.js +++ b/www/js/util.js @@ -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] }; }