mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Effects: Fixing bug in blind effect caused by 48659c64 - auto doesn't parse
This commit is contained in:
4
ui/jquery.ui.effect-blind.js
vendored
4
ui/jquery.ui.effect-blind.js
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user