Fix IE redirect problem
This commit is contained in:
parent
554595acd7
commit
c7f3740099
|
@ -664,7 +664,7 @@ export default {
|
|||
* false.
|
||||
*/
|
||||
isCallstatsEnabled () {
|
||||
return room.isCallstatsEnabled();
|
||||
return room && room.isCallstatsEnabled();
|
||||
},
|
||||
/**
|
||||
* Sends the given feedback through CallStats if enabled.
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
/* @flow */
|
||||
|
||||
// Polyfill URL for Internet Explorer.
|
||||
import 'url-polyfill';
|
||||
|
||||
declare var JitsiMeetJS: Object;
|
||||
|
||||
export default JitsiMeetJS;
|
||||
|
|
|
@ -99,6 +99,11 @@ var config = {
|
|||
|
||||
loader: 'imports-loader?define=>false&this=>window',
|
||||
test: strophe
|
||||
}, {
|
||||
// Set scope to window for URL polyfill.
|
||||
|
||||
loader: 'imports-loader?this=>window',
|
||||
test: /\/node_modules\/url-polyfill\/.*\.js$/
|
||||
}, {
|
||||
// Allow CSS to be imported into JavaScript.
|
||||
|
||||
|
|
Loading…
Reference in New Issue