Fixes exception on follow me command.
This commit is contained in:
parent
568a5ba816
commit
76548f1cd0
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue