aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.effect-slide.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.ui.effect-slide.js')
-rw-r--r--ui/jquery.ui.effect-slide.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/jquery.ui.effect-slide.js b/ui/jquery.ui.effect-slide.js
index d61047b8b..134b058c7 100644
--- a/ui/jquery.ui.effect-slide.js
+++ b/ui/jquery.ui.effect-slide.js
@@ -29,9 +29,7 @@ $.effects.effect.slide = function( o, done ) {
// Adjust
$.effects.save( el, props );
el.show();
- distance = o.distance || el[ ref === "top" ? "outerHeight" : "outerWidth" ]({
- margin: true
- });
+ distance = o.distance || el[ ref === "top" ? "outerHeight" : "outerWidth" ]( true );
$.effects.createWrapper( el ).css({
overflow: "hidden"