Fixes the issue with ether pad and the broken thumbnail selection.

This commit is contained in:
hristoterezov 2014-10-17 14:16:37 +03:00
parent 83dc70eae5
commit d5a2281a01
1 changed files with 42 additions and 43 deletions

View File

@ -175,7 +175,7 @@ var VideoLayout = (function (my) {
? getDesktopVideoPosition
: getCameraVideoPosition;
if (largeVideoState.isVisible) {
// Only if the large video is currently visible.
// Disable previous dominant speaker video.
if (largeVideoState.oldJid) {
@ -215,14 +215,13 @@ var VideoLayout = (function (my) {
}
largeVideoState.updateInProgress = false;
if (fade) {
if (fade && largeVideoState.isVisible) {
// using "this" should be ok because we're called
// from within the fadeOut event.
$(this).fadeIn(300);
}
}
largeVideoState.updateInProgress = false;
};
if (fade) {