Merge branch 'develop' of github.com:thecodingmachine/workadventure

This commit is contained in:
_Bastler 2021-11-25 11:45:23 +01:00
commit c43348f9f0

View File

@ -240,6 +240,9 @@ class CoWebsiteManager {
this.openedMain = iframeStates.loading; this.openedMain = iframeStates.loading;
} }
private openMain(): void { private openMain(): void {
this.cowebsiteDom.addEventListener("transitionend", () => {
this.resizeAllIframes();
});
this.cowebsiteDom.classList.remove("loading", "hidden"); //edit the css class to trigger the transition this.cowebsiteDom.classList.remove("loading", "hidden"); //edit the css class to trigger the transition
this.openedMain = iframeStates.opened; this.openedMain = iframeStates.opened;
this.resetStyleMain(); this.resetStyleMain();