aboutsummaryrefslogtreecommitdiffstats
path: root/src/arrange.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/arrange.js')
-rw-r--r--src/arrange.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/arrange.js b/src/arrange.js
index 47134ed..3ef486f 100644
--- a/src/arrange.js
+++ b/src/arrange.js
@@ -24,11 +24,9 @@ SVG.extend(SVG.Element, {
}
// Send given element one step backward
, backward: function() {
- var i
-
this.parent.level()
- i = this.position()
+ var i = this.position()
if (i > 1)
this.parent.remove(this).add(this, i - 1)