diff options
-rw-r--r-- | ui/jquery.ui.effect-drop.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.effect-drop.js b/ui/jquery.ui.effect-drop.js index 3246c09b0..674ef41ec 100644 --- a/ui/jquery.ui.effect-drop.js +++ b/ui/jquery.ui.effect-drop.js @@ -32,7 +32,7 @@ $.effects.effect.drop = function( o, done ) { el.show(); $.effects.createWrapper( el ); - distance = o.distance || el[ ref === "top" ? "outerHeight": "outerWidth" ]({ margin: true }) / 2; + distance = o.distance || el[ ref === "top" ? "outerHeight": "outerWidth" ]( true ) / 2; if ( show ) { el |