Преглед изворни кода

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

Fixes exception on follow me command.
master
damencho пре 9 година
родитељ
комит
055f96bb03
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      modules/FollowMe.js

+ 2
- 2
modules/FollowMe.js Прегледај датотеку

@@ -308,10 +308,10 @@ class FollowMe {
308 308
         var clickId = null;
309 309
         if(typeof id !== 'undefined' && !VideoLayout.isPinned(id))
310 310
             clickId = id;
311
-        else if (typeof id == 'undefined')
311
+        else if (typeof id == 'undefined' && VideoLayout.getPinnedId())
312 312
             clickId = VideoLayout.getPinnedId();
313 313
 
314
-        if (clickId !== null)
314
+        if (clickId)
315 315
             VideoLayout.handleVideoThumbClicked(clickId);
316 316
     }
317 317
 

Loading…
Откажи
Сачувај