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