diff options
Diffstat (limited to 'src/relative.js')
-rwxr-xr-x | src/relative.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/relative.js b/src/relative.js index 7759bb9..6bb11b7 100755 --- a/src/relative.js +++ b/src/relative.js @@ -2,11 +2,11 @@ SVG.extend(SVG.Element, SVG.FX, { // Relative move over x axis dx: function(x) { - return this.x(this.x() + x) + return this.x((this.target || this).x() + x) } // Relative move over y axis , dy: function(y) { - return this.y(this.y() + y) + return this.y((this.target || this).y() + y) } // Relative move over x and y axes , dmove: function(x, y) { |