Merge pull request #556 from jitsi/fix-follow-me-exception

Fixes exception on follow me command.
This commit is contained in:
damencho 2016-03-25 17:22:05 -05:00
commit 055f96bb03
1 changed files with 2 additions and 2 deletions

View File

@ -308,10 +308,10 @@ class FollowMe {
var clickId = null; var clickId = null;
if(typeof id !== 'undefined' && !VideoLayout.isPinned(id)) if(typeof id !== 'undefined' && !VideoLayout.isPinned(id))
clickId = id; clickId = id;
else if (typeof id == 'undefined') else if (typeof id == 'undefined' && VideoLayout.getPinnedId())
clickId = VideoLayout.getPinnedId(); clickId = VideoLayout.getPinnedId();
if (clickId !== null) if (clickId)
VideoLayout.handleVideoThumbClicked(clickId); VideoLayout.handleVideoThumbClicked(clickId);
} }