diff --git a/src/shapes/path_group.class.js b/src/shapes/path_group.class.js index 5941c358cdd..8cf6b5d5fb0 100644 --- a/src/shapes/path_group.class.js +++ b/src/shapes/path_group.class.js @@ -259,7 +259,7 @@ var originalPaths = object.paths; delete object.paths; // remove this pattern from 2.0 accepts only object - if (typeof orignalPaths === 'string') { + if (typeof originalPaths === 'string') { fabric.loadSVGFromURL(originalPaths, function (elements) { var pathUrl = originalPaths; var pathGroup = fabric.util.groupSVGElements(elements, object, pathUrl);