aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorey Frang <gnarf@gnarf.net>2012-07-20 18:50:34 -0500
committerCorey Frang <gnarf@gnarf.net>2012-07-20 18:50:34 -0500
commited64ccfef4e39ca21152c42e75a5614e2488ae3f (patch)
treeb3b859c4b340a68338b306d87d7ba6d3675accda
parent85d259483ebf9a9fddc3c3fb6b191f10d181a1ad (diff)
downloadjquery-ui-ed64ccfef4e39ca21152c42e75a5614e2488ae3f.tar.gz
jquery-ui-ed64ccfef4e39ca21152c42e75a5614e2488ae3f.zip
Effects: Fixing call to outerHeight/Width in slide effect for compat with 1.8 core
-rw-r--r--ui/jquery.ui.effect-slide.js4
1 files changed, 1 insertions, 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"