diff options
author | Corey Frang <gnarf@gnarf.net> | 2012-07-20 18:50:34 -0500 |
---|---|---|
committer | Corey Frang <gnarf@gnarf.net> | 2012-07-20 18:50:34 -0500 |
commit | ed64ccfef4e39ca21152c42e75a5614e2488ae3f (patch) | |
tree | b3b859c4b340a68338b306d87d7ba6d3675accda | |
parent | 85d259483ebf9a9fddc3c3fb6b191f10d181a1ad (diff) | |
download | jquery-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.js | 4 |
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" |