From 4e3d31e1eeabaf311552b8496936122dae88b69f Mon Sep 17 00:00:00 2001 From: Corey Frang Date: Fri, 20 Jul 2012 18:07:45 -0500 Subject: [PATCH] Effects: Fixing call to outerHeight/Width in drop effect for compat with 1.8 core --- ui/jquery.ui.effect-drop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5