Merge pull request #1593 from thecodingmachine/develop

Next release 1.5.7
This commit is contained in:
grégoire parant 2021-11-25 11:44:36 +01:00 committed by GitHub
commit 5e11cccdf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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