diff options
author | Corey Frang <gnarf@gnarf.net> | 2012-07-20 18:35:32 -0500 |
---|---|---|
committer | Corey Frang <gnarf@gnarf.net> | 2012-07-20 18:35:32 -0500 |
commit | 85d259483ebf9a9fddc3c3fb6b191f10d181a1ad (patch) | |
tree | b2fa8114763feb5e1c9179ca437bd39af0919900 /ui/jquery.ui.effect-blind.js | |
parent | 4e3d31e1eeabaf311552b8496936122dae88b69f (diff) | |
download | jquery-ui-85d259483ebf9a9fddc3c3fb6b191f10d181a1ad.tar.gz jquery-ui-85d259483ebf9a9fddc3c3fb6b191f10d181a1ad.zip |
Effects: Fixing bug in blind effect caused by 48659c64 - auto doesn't parse
Diffstat (limited to 'ui/jquery.ui.effect-blind.js')
-rw-r--r-- | ui/jquery.ui.effect-blind.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.effect-blind.js b/ui/jquery.ui.effect-blind.js index 7cc353525..a5c41325c 100644 --- a/ui/jquery.ui.effect-blind.js +++ b/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 |