From b10a2af1adeae6bb68ee0ad3540092fccceb80ed Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Thu, 29 May 2014 20:44:09 -0700 Subject: [PATCH] Hopefully fix #371? --- www/js/callbacks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/callbacks.js b/www/js/callbacks.js index 6560ebdf..fcd5c7d6 100644 --- a/www/js/callbacks.js +++ b/www/js/callbacks.js @@ -809,7 +809,7 @@ Callbacks = { }, changeMedia: function(data) { - if ($("body").hasClass("chatOnly")) { + if ($("body").hasClass("chatOnly") || $("#videowrap").length === 0) { return; }