diff options
author | wout <wout@impinc.co.uk> | 2013-01-09 20:55:28 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-01-09 20:55:28 +0100 |
commit | f2df589f3e0ab2abc88dc0e0ea3f1fe98fdb8b19 (patch) | |
tree | f630cd394bb5d7df406d11f9a5dd82c916a00887 /src | |
parent | 6d40c805386f440595d2f9a5c35e387d4a253736 (diff) | |
download | svg.js-f2df589f3e0ab2abc88dc0e0ea3f1fe98fdb8b19.tar.gz svg.js-f2df589f3e0ab2abc88dc0e0ea3f1fe98fdb8b19.zip |
Bug fix in clone
Diffstat (limited to 'src')
-rw-r--r-- | src/element.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/element.js b/src/element.js index a1a5ccc..933002a 100644 --- a/src/element.js +++ b/src/element.js @@ -62,7 +62,7 @@ SVG.extend(SVG.Element, { var clone; /* if this is a wrapped shape */ - if (this instanceof Wrap) { + if (this instanceof SVG.Wrap) { /* build new wrapped shape */ clone = this.parent[this.child.node.nodeName](); |