Fixes exception on follow me command.
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user