Hopefully fix #371?

This commit is contained in:
Calvin Montgomery 2014-05-29 20:44:09 -07:00
parent 4d0149ce43
commit b10a2af1ad
1 changed files with 1 additions and 1 deletions

View File

@ -809,7 +809,7 @@ Callbacks = {
},
changeMedia: function(data) {
if ($("body").hasClass("chatOnly")) {
if ($("body").hasClass("chatOnly") || $("#videowrap").length === 0) {
return;
}