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

Removes an unused variable.

master
Boris Grozev пре 10 година
родитељ
комит
cc20a4d776
1 измењених фајлова са 2 додато и 6 уклоњено
  1. 2
    6
      modules/UI/videolayout/VideoLayout.js

+ 2
- 6
modules/UI/videolayout/VideoLayout.js Прегледај датотеку

36
     my.init = function (emitter) {
36
     my.init = function (emitter) {
37
         eventEmitter = emitter;
37
         eventEmitter = emitter;
38
         localVideoThumbnail = new LocalVideo(VideoLayout);
38
         localVideoThumbnail = new LocalVideo(VideoLayout);
39
-        if (interfaceConfig.filmStripOnly)
40
-        {
41
-            showLargeVideo = false;
39
+        if (interfaceConfig.filmStripOnly) {
42
             LargeVideo.disable();
40
             LargeVideo.disable();
43
-        }
44
-        else
45
-        {
41
+        } else {
46
             LargeVideo.init(VideoLayout, emitter);
42
             LargeVideo.init(VideoLayout, emitter);
47
         }
43
         }
48
 
44
 

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