Skip to content
Permalink
Browse files

Effects: Fixing bug in blind effect caused by 48659c6 - auto doesn't …

…parse
  • Loading branch information
gnarf committed Jul 20, 2012
1 parent 4e3d31e commit 85d259483ebf9a9fddc3c3fb6b191f10d181a1ad
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/jquery.ui.effect-blind.js
@@ -42,7 +42,7 @@ $.effects.effect.blind = function( o, done ) {
});

distance = wrapper[ ref ]();
margin = parseFloat( wrapper.css( ref2 ) );
margin = parseFloat( wrapper.css( ref2 ) ) || 0;

animation[ ref ] = show ? distance : 0;
if ( !motion ) {
@@ -51,7 +51,7 @@ $.effects.effect.blind = function( o, done ) {
.css( vertical ? "top" : "left", "auto" )
.css({ position: "absolute" });

animation[ ref2 ] = show ? margin : distance + margin;
animation[ ref2 ] = show ? margin : distance + margin;
}

// start at 0 if we are showing

0 comments on commit 85d2594

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