CSS cleanups

This commit is contained in:
Mo Bitar
2018-01-17 12:04:29 -06:00
parent 0b430d4d08
commit 0cf13ad28b
20 changed files with 136 additions and 369 deletions

View File

@@ -738,7 +738,11 @@ class ComponentManager {
setSize(iframe, data);
} else {
var container = document.getElementById("component-" + component.uuid);
setSize(container, data);
if(container) {
// in the case of Modals, sometimes they may be "active" because they were so in another session,
// but no longer actually visible. So check to make sure the container exists
setSize(container, data);
}
}
}