Fix hidden main cowebsite swape

This commit is contained in:
Alexis Faizeau
2022-02-15 16:00:35 +01:00
parent a52ad233d8
commit 06dd2202f6
4 changed files with 14 additions and 7 deletions
+7
View File
@@ -561,6 +561,13 @@ class CoWebsiteManager {
coWebsites.remove(coWebsite);
coWebsites.add(coWebsite, 0);
if (mainCoWebsite) {
const iframe = mainCoWebsite.getIframe();
if (iframe) {
iframe.style.display = "block";
}
}
if (
isMediaBreakpointDown("lg") &&
get(embedScreenLayout) === LayoutMode.Presentation &&