aboutsummaryrefslogtreecommitdiffstats
path: root/src/arrange.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-07-17 10:37:11 +0100
committerwout <wout@impinc.co.uk>2013-07-17 10:37:11 +0100
commit13762cb41c3b3d8ca40f9f951374188838510af2 (patch)
treea54e7db2d56dd89e0c0675d20b65b700fdc461c3 /src/arrange.js
parentbd56387eb18ca03b94b25ca96a9b79152edf9c34 (diff)
downloadsvg.js-13762cb41c3b3d8ca40f9f951374188838510af2.tar.gz
svg.js-13762cb41c3b3d8ca40f9f951374188838510af2.zip
Fix in back()
Diffstat (limited to 'src/arrange.js')
-rw-r--r--src/arrange.js2
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