Fix Jitsi integration
Jitsi iframes are rendered directly in the cowebsite div next to the cowebsite > main element. This patch fixes the situation.
This commit is contained in:
parent
519018f6c5
commit
318c63ab90
@ -150,7 +150,8 @@ class CoWebsiteManager {
|
|||||||
*/
|
*/
|
||||||
public insertCoWebsite(callback: (cowebsite: HTMLDivElement) => Promise<void>): void {
|
public insertCoWebsite(callback: (cowebsite: HTMLDivElement) => Promise<void>): void {
|
||||||
this.load();
|
this.load();
|
||||||
this.currentOperationPromise = this.currentOperationPromise.then(() => callback(this.cowebsiteDiv)).then(() => {
|
this.cowebsiteMainDom.innerHTML = ``;
|
||||||
|
this.currentOperationPromise = this.currentOperationPromise.then(() => callback(this.cowebsiteMainDom)).then(() => {
|
||||||
this.open();
|
this.open();
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.fire();
|
this.fire();
|
||||||
|
Loading…
Reference in New Issue
Block a user