diff options
Diffstat (limited to 'ui/jquery.ui.effect-slide.js')
-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" |