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

pull/15497/head
Travis Ralston 2020-10-14 16:16:08 -06:00
parent d4d1b957af
commit d1a6b656bc
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