Skip to content

Commit ed64ccf

Browse files
committed
Effects: Fixing call to outerHeight/Width in slide effect for compat with 1.8 core
1 parent 85d2594 commit ed64ccf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ui/jquery.ui.effect-slide.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ $.effects.effect.slide = function( o, done ) {
2929
// Adjust
3030
$.effects.save( el, props );
3131
el.show();
32-
distance = o.distance || el[ ref === "top" ? "outerHeight" : "outerWidth" ]({
33-
margin: true
34-
});
32+
distance = o.distance || el[ ref === "top" ? "outerHeight" : "outerWidth" ]( true );
3533

3634
$.effects.createWrapper( el ).css({
3735
overflow: "hidden"

0 commit comments

Comments
 (0)