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:16:08 -06:00
parent 0507cd2d90
commit 917a85ead9

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