Hopefully fix #371?

This commit is contained in:
Calvin Montgomery 2014-05-29 20:44:09 -07:00
parent 4d0149ce43
commit b10a2af1ad

View file

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