mirror of https://github.com/calzoneman/sync.git
Hopefully fix #371?
This commit is contained in:
parent
4d0149ce43
commit
b10a2af1ad
|
@ -809,7 +809,7 @@ Callbacks = {
|
||||||
},
|
},
|
||||||
|
|
||||||
changeMedia: function(data) {
|
changeMedia: function(data) {
|
||||||
if ($("body").hasClass("chatOnly")) {
|
if ($("body").hasClass("chatOnly") || $("#videowrap").length === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue