瀏覽代碼

Fix IE redirect problem

master
Ilya Daynatovich 8 年之前
父節點
當前提交
c7f3740099
共有 3 個文件被更改,包括 9 次插入1 次删除
  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 查看文件

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

+ 3
- 0
react/features/base/lib-jitsi-meet/_.web.js 查看文件

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

+ 5
- 0
webpack.config.js 查看文件

99
 
99
 
100
             loader: 'imports-loader?define=>false&this=>window',
100
             loader: 'imports-loader?define=>false&this=>window',
101
             test: strophe
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
             // Allow CSS to be imported into JavaScript.
108
             // Allow CSS to be imported into JavaScript.
104
 
109
 

Loading…
取消
儲存