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 {
|
||||
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();
|
||||
setTimeout(() => {
|
||||
this.fire();
|
||||
@ -210,4 +211,4 @@ class CoWebsiteManager {
|
||||
}
|
||||
}
|
||||
|
||||
export const coWebsiteManager = new CoWebsiteManager();
|
||||
export const coWebsiteManager = new CoWebsiteManager();
|
||||
|
Loading…
Reference in New Issue
Block a user