Fixes exception on follow me command.

This commit is contained in:
yanas
2016-03-25 17:15:50 -05:00
parent 568a5ba816
commit 76548f1cd0
+2 -2
View File
@@ -303,10 +303,10 @@ class FollowMe {
var clickId = null;
if(typeof id !== 'undefined' && !VideoLayout.isPinned(id))
clickId = id;
else if (typeof id == 'undefined')
else if (typeof id == 'undefined' && VideoLayout.getPinnedId())
clickId = VideoLayout.getPinnedId();
if (clickId !== null)
if (clickId)
VideoLayout.handleVideoThumbClicked(clickId);
}