Added fix for radio inputs becoming unchecked during an animation.

This commit is contained in:
John Resig 2006-10-18 04:32:31 +00:00
parent 14b09024cb
commit ca91d78963

View file

@ -1475,7 +1475,9 @@ jQuery.extend({
oHeight = e.offsetHeight;
oWidth = e.offsetWidth;
} else {
e = jQuery(e.cloneNode(true)).css({
e = jQuery(e.cloneNode(true))
.find(":radio").removeAttr("checked").end()
.css({
visibility: "hidden", position: "absolute", display: "block", right: "0", left: "0"
}).appendTo(e.parentNode)[0];