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