Fixed some bugs, improved the quality of some of the variables.
[jquery.git] / src / fx / fx.js
index eb27c3a..2a0c951 100644 (file)
@@ -485,7 +485,8 @@ jQuery.extend({
                                                z.el.orig[prop] + "px" : z.el.orig[prop];
 
                                // set its height and/or width to auto
-                               jQuery.setAuto( z.el, prop );
+                               if ( prop == 'height' || prop == 'width' )
+                                       jQuery.setAuto( z.el, prop );
 
                                // If a callback was provided, execute it
                                if( z.o.complete && z.o.complete.constructor == Function )