Bläddra i källkod

Fix IE redirect problem

j8
Ilya Daynatovich 8 år sedan
förälder
incheckning
c7f3740099
3 ändrade filer med 9 tillägg och 1 borttagningar
  1. 1
    1
      conference.js
  2. 3
    0
      react/features/base/lib-jitsi-meet/_.web.js
  3. 5
    0
      webpack.config.js

+ 1
- 1
conference.js Visa fil

@@ -664,7 +664,7 @@ export default {
664 664
      * false.
665 665
      */
666 666
     isCallstatsEnabled () {
667
-        return room.isCallstatsEnabled();
667
+        return room && room.isCallstatsEnabled();
668 668
     },
669 669
     /**
670 670
      * Sends the given feedback through CallStats if enabled.

+ 3
- 0
react/features/base/lib-jitsi-meet/_.web.js Visa fil

@@ -1,5 +1,8 @@
1 1
 /* @flow */
2 2
 
3
+// Polyfill URL for Internet Explorer.
4
+import 'url-polyfill';
5
+
3 6
 declare var JitsiMeetJS: Object;
4 7
 
5 8
 export default JitsiMeetJS;

+ 5
- 0
webpack.config.js Visa fil

@@ -99,6 +99,11 @@ var config = {
99 99
 
100 100
             loader: 'imports-loader?define=>false&this=>window',
101 101
             test: strophe
102
+        }, {
103
+            // Set scope to window for URL polyfill.
104
+
105
+            loader: 'imports-loader?this=>window',
106
+            test: /\/node_modules\/url-polyfill\/.*\.js$/
102 107
         }, {
103 108
             // Allow CSS to be imported into JavaScript.
104 109
 

Laddar…
Avbryt
Spara