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; }