diff --git a/Projects/Foundations/UI/Spaces/Charting-Space/ChartingSpace.js b/Projects/Foundations/UI/Spaces/Charting-Space/ChartingSpace.js index 3fe3f38f4..4694622d6 100644 --- a/Projects/Foundations/UI/Spaces/Charting-Space/ChartingSpace.js +++ b/Projects/Foundations/UI/Spaces/Charting-Space/ChartingSpace.js @@ -186,7 +186,9 @@ function newFoundationsChartingSpace() { } function resize() { - thisObject.viewport.resize() + if (thisObject.viewport !== undefined) { + thisObject.viewport.resize() + } thisObject.container.frame.width = browserCanvas.width thisObject.container.frame.height = COCKPIT_SPACE_POSITION }