Browse Source

[RN] Prevent a possible TypeError

master
paweldomas 8 years ago
parent
commit
70fc727b92
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      react/features/overlay/components/OverlayFrame.js

+ 3
- 1
react/features/overlay/components/OverlayFrame.js View File

@@ -42,7 +42,9 @@ export default class OverlayFrame extends Component {
42 42
              *
43 43
              * @type {boolean}
44 44
              */
45
-            filmstripOnly: interfaceConfig.filmStripOnly
45
+            filmstripOnly:
46
+                typeof interfaceConfig !== 'undefined'
47
+                    && interfaceConfig.filmStripOnly
46 48
         };
47 49
     }
48 50
 

Loading…
Cancel
Save