X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Ffx%2Ffx.js;h=2a0c9511729262126bd0320b9cd65fc2e76b7fe6;hb=ccf9d4406296fed48aae0989f2303287f133ed9e;hp=eb27c3a4b5842722e42a346a344e9d49b762ae3e;hpb=874e4f65eecdf74bb76c361d778aac4ed6158ed6;p=jquery.git diff --git a/src/fx/fx.js b/src/fx/fx.js index eb27c3a..2a0c951 100644 --- a/src/fx/fx.js +++ b/src/fx/fx.js @@ -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 )