Brandon Aaron schrieb:
> On 11/9/06, Joel Birch <[EMAIL PROTECTED]> wrote:> To this:
>   
>> var finished = function() { --running; this.style.height="auto"; };
>>     
>
> Perhaps it would be best to just allow the style sheet to define
> whether or not it is auto by setting the style to a blank string.
>
> var finished = function() { --running; this.style.height = ''; };
>   
Wouldn't it be better if jQuery's animate would reset any styles to 
nothing if it modifies them? This would take a lot of boiler plate code 
and possible errors out of plugins.

-- 
Jörn Zaefferer

http://bassistance.de


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to