Skip to content

Commit

Permalink
Update path_group.class.js (#3728)
Browse files Browse the repository at this point in the history
  • Loading branch information
by12 authored and asturur committed Feb 21, 2017
1 parent 2246534 commit 45c868c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shapes/path_group.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 45c868c

Please sign in to comment.