[jQuery] A fix for flickering at end of $.fx.height

[jQuery] A fix for flickering at end of $.fx.height

I've had problems with $.fx.height flickering at the end of
$().hide('fast'), so I've made a change to $.fx:
...
z.a = function(){
// >> Michal T. 06/06/22 un-flicker hack
if (ty == 'height' || ty == 'width') {
if (z.now < 1) z.el.style.display = 'none';
else if (z.el.style.display == 'none') z.el.style.display = '';
}
// <<
z.el.style[ty] = z.now+'px';
};
...
So, basically, if height is 1 or less, it hides the object. I guess it was
something like setting 0 (or -1?) to height resulted in flicker.
--
MichaƂ Tatarynowicz
Sputnik!
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/