Skip to content
Permalink
Browse files
Added fix for radio inputs becoming unchecked during an animation.
  • Loading branch information
jeresig committed Oct 18, 2006
1 parent 14b0902 commit ca91d78
Showing 1 changed file with 5 additions and 3 deletions.
@@ -1475,9 +1475,11 @@ jQuery.extend({
oHeight = e.offsetHeight;
oWidth = e.offsetWidth;
} else {
e = jQuery(e.cloneNode(true)).css({
visibility: "hidden", position: "absolute", display: "block", right: "0", left: "0"
}).appendTo(e.parentNode)[0];
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];

var parPos = jQuery.css(e.parentNode,"position");
if ( parPos == "" || parPos == "static" )

0 comments on commit ca91d78

Please sign in to comment.