diff options
author | Corey Frang <gnarf@gnarf.net> | 2012-07-20 18:07:45 -0500 |
---|---|---|
committer | Corey Frang <gnarf@gnarf.net> | 2012-07-20 18:07:45 -0500 |
commit | 4e3d31e1eeabaf311552b8496936122dae88b69f (patch) | |
tree | 343bd2bbc4609655b2c9656a2e76fa0785b9f96e | |
parent | f8bdd6e1927c0a08a7397ab57247c3d99cf6f1ed (diff) | |
download | jquery-ui-4e3d31e1eeabaf311552b8496936122dae88b69f.tar.gz jquery-ui-4e3d31e1eeabaf311552b8496936122dae88b69f.zip |
Effects: Fixing call to outerHeight/Width in drop effect for compat with 1.8 core
-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 |