Skip to content
Permalink
Browse files

Effects: Fixing call to outerHeight/Width in slide effect for compat …

…with 1.8 core
  • Loading branch information
gnarf committed Jul 20, 2012
1 parent 85d2594 commit ed64ccfef4e39ca21152c42e75a5614e2488ae3f
Showing with 1 addition and 3 deletions.
  1. +1 −3 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"

0 comments on commit ed64ccf

Please sign in to comment.
You can’t perform that action at this time.