Merge pull request #827 from workadventure-xce/fix/jitsi_integration
Fix Jitsi integration
This commit is contained in:
commit
04bd60ca26
@ -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();
|
||||||
@ -210,4 +211,4 @@ class CoWebsiteManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export const coWebsiteManager = new CoWebsiteManager();
|
export const coWebsiteManager = new CoWebsiteManager();
|
||||||
|
Loading…
Reference in New Issue
Block a user