diff options
author | tomykaira <tomykaira@gmail.com> | 2011-06-09 20:36:48 -0500 |
---|---|---|
committer | gnarf <gnarf@gnarf.net> | 2011-06-09 20:38:09 -0500 |
commit | 2c8151848d191ad9ba53c0ee86b14aefe4288f67 (patch) | |
tree | 43e306d0a16a06772f9b6616e18b539a09de13e3 /ui/jquery.effects.fold.js | |
parent | 19dcac2129a2b39a24989835c1c732fa630bdefd (diff) | |
download | jquery-ui-2c8151848d191ad9ba53c0ee86b14aefe4288f67.tar.gz jquery-ui-2c8151848d191ad9ba53c0ee86b14aefe4288f67.zip |
effects.core: Convert elements height/width to px and restore after animation in all effects. Fixed #5245 - Relative width elements break when wrapped for effects
Diffstat (limited to 'ui/jquery.effects.fold.js')
-rw-r--r-- | ui/jquery.effects.fold.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.effects.fold.js b/ui/jquery.effects.fold.js index 29da090cb..6100c33a1 100644 --- a/ui/jquery.effects.fold.js +++ b/ui/jquery.effects.fold.js @@ -18,7 +18,7 @@ $.effects.effect.fold = function( o ) { // Create element var el = $( this ), - props = ['position','top','bottom','left','right'], + props = ['position','top','bottom','left','right','height','width'], mode = $.effects.setMode(el, o.mode || 'hide'), size = o.size || 15, percent = /([0-9]+)%/.exec(size), |