Merge pull request #15466 from vector-im/travis/jitsi-popout-fix

Don't fatally end the Jitsi widget when it's not being used as a widget
This commit is contained in:
Travis Ralston 2020-10-14 16:36:59 -06:00 committed by GitHub
commit c2a9157258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ let meetApi: any; // JitsiMeetExternalAPI
]);
widgetApi.start();
} else {
throw new Error("No parent URL or no widget ID");
console.warn("No parent URL or no widget ID - assuming no widget API is available");
}
// Populate the Jitsi params now