From 23eb9b2cb1210cea34d0ef785b0156bc744efada Mon Sep 17 00:00:00 2001 From: by12 Date: Tue, 21 Feb 2017 13:16:22 +0100 Subject: [PATCH] Update path_group.class.js (#3728) --- src/shapes/path_group.class.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shapes/path_group.class.js b/src/shapes/path_group.class.js index 5941c358..8cf6b5d5 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);