git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed some bugs, improved the quality of some of the variables.
[jquery.git]
/
src
/
fx
/
fx.js
diff --git
a/src/fx/fx.js
b/src/fx/fx.js
index
eb27c3a
..
2a0c951
100644
(file)
--- 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
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 )
// If a callback was provided, execute it
if( z.o.complete && z.o.complete.constructor == Function )