diff --git a/player/js/elements/canvasElements/CVTextElement.js b/player/js/elements/canvasElements/CVTextElement.js index 52ef05e37..dade60b48 100644 --- a/player/js/elements/canvasElements/CVTextElement.js +++ b/player/js/elements/canvasElements/CVTextElement.js @@ -89,7 +89,7 @@ CVTextElement.prototype.buildNewText = function () { yPos += firstLine ? 1 : 0; firstLine = false; } - shapes = shapeData.shapes ? shapeData.shapes[0].it : []; + shapes = shapeData.shapes && shapeData.shapes[0] ? shapeData.shapes[0].it : []; jLen = shapes.length; matrixHelper.scale(documentData.finalSize / 100, documentData.finalSize / 100); if (singleShape) {