presence/app/assets/javascripts/presence_videochat.js.erb in social_stream-0.23.4 vs presence/app/assets/javascripts/presence_videochat.js.erb in social_stream-0.24.0
- old
+ new
@@ -19,17 +19,22 @@
closeVideoChatWindow(slug);
}
}
function closeVideoChatWindow(slug){
+ //Show games button
+ $(getChatBoxButtonForSlug(slug,"games")).show()
closeVideoSession(slug);
return;
}
//Single variable for all slugs.
var reconnectAttemptsVideo = 1;
function openVideoChatWindow(slug){
+
+ //Hide games button
+ $(getChatBoxButtonForSlug(slug,"games")).hide()
if (slug in contactsInfo) {
var connectionStatus = contactsInfo[slug].videoChatStatus;
} else {
var connectionStatus = null;
\ No newline at end of file