Don't fatally end the Jitsi widget when it's not being used as a widget

pull/15466/head
Travis Ralston 2020-10-14 16:16:08 -06:00
parent 0507cd2d90
commit 917a85ead9
1 changed files with 1 additions and 1 deletions

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