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 ca91d7896325b594ce60621c4e420dc84719302a
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/jquery/jquery.js
@@ -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.
You can’t perform that action at this time.