summaryrefslogtreecommitdiffstats
path: root/src/modules/optional/sugar.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/optional/sugar.js')
-rw-r--r--src/modules/optional/sugar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/optional/sugar.js b/src/modules/optional/sugar.js
index 18f3e78..d4255c3 100644
--- a/src/modules/optional/sugar.js
+++ b/src/modules/optional/sugar.js
@@ -96,7 +96,7 @@ registerMethods([ 'Element', 'Runner' ], {
: (direction === 'y') ? [ 0, around ]
: isFinite(direction) ? [ direction, direction ]
: [ 0, 0 ]
- this.transform({ flip: directionString, origin: origin }, true)
+ return this.transform({ flip: directionString, origin: origin }, true)
},
// Opacity