From effe1eaf086e0b440fa37f80b775678ac116abf7 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 21 Mar 2015 08:36:28 -0400 Subject: [PATCH] 2015: live: Handle undefined stats. --- 2015/assets/js/stream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2015/assets/js/stream.js b/2015/assets/js/stream.js index 31fc34b9..43dc76c2 100644 --- a/2015/assets/js/stream.js +++ b/2015/assets/js/stream.js @@ -133,7 +133,7 @@ app.controller.prototype.updateStats = function() { app.view = function(ctrl) { var stream = ctrl.stream(); - var stats = ctrl.stats(); + var stats = ctrl.stats() || app.nullStats; var showDesktop = ctrl.showDesktop(); function renderSpeakerStream() { -- 2.25.1