aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.effect-drop.js
diff options
context:
space:
mode:
authorCorey Frang <gnarf@gnarf.net>2012-07-20 18:07:45 -0500
committerCorey Frang <gnarf@gnarf.net>2012-07-20 18:07:45 -0500
commit4e3d31e1eeabaf311552b8496936122dae88b69f (patch)
tree343bd2bbc4609655b2c9656a2e76fa0785b9f96e /ui/jquery.ui.effect-drop.js
parentf8bdd6e1927c0a08a7397ab57247c3d99cf6f1ed (diff)
downloadjquery-ui-4e3d31e1eeabaf311552b8496936122dae88b69f.tar.gz
jquery-ui-4e3d31e1eeabaf311552b8496936122dae88b69f.zip
Effects: Fixing call to outerHeight/Width in drop effect for compat with 1.8 core
Diffstat (limited to 'ui/jquery.ui.effect-drop.js')
-rw-r--r--ui/jquery.ui.effect-drop.js2
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