浏览代码

[RN] Prevent a possible TypeError

efficient_tiling
paweldomas 7 年前
父节点
当前提交
70fc727b92
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      react/features/overlay/components/OverlayFrame.js

+ 3
- 1
react/features/overlay/components/OverlayFrame.js 查看文件

42
              *
42
              *
43
              * @type {boolean}
43
              * @type {boolean}
44
              */
44
              */
45
-            filmstripOnly: interfaceConfig.filmStripOnly
45
+            filmstripOnly:
46
+                typeof interfaceConfig !== 'undefined'
47
+                    && interfaceConfig.filmStripOnly
46
         };
48
         };
47
     }
49
     }
48
 
50
 

正在加载...
取消
保存