diff options
author | wout <wout@impinc.co.uk> | 2013-07-17 10:37:11 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-07-17 10:37:11 +0100 |
commit | 13762cb41c3b3d8ca40f9f951374188838510af2 (patch) | |
tree | a54e7db2d56dd89e0c0675d20b65b700fdc461c3 /src | |
parent | bd56387eb18ca03b94b25ca96a9b79152edf9c34 (diff) | |
download | svg.js-13762cb41c3b3d8ca40f9f951374188838510af2.tar.gz svg.js-13762cb41c3b3d8ca40f9f951374188838510af2.zip |
Fix in back()
Diffstat (limited to 'src')
-rw-r--r-- | src/arrange.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arrange.js b/src/arrange.js index 13b4311..0eb2830 100644 --- a/src/arrange.js +++ b/src/arrange.js @@ -40,7 +40,7 @@ SVG.extend(SVG.Element, { } // Send given element all the way to the back , back: function() { - if (this.position() > 1) + if (this.position() > 0) this.parent.removeElement(this).add(this, 0) return this |