Fixes exception on follow me command.

This commit is contained in:
yanas 2016-03-25 17:15:50 -05:00
parent 568a5ba816
commit 76548f1cd0
1 changed files with 2 additions and 2 deletions

View File

@ -303,10 +303,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);
} }