Added fix for radio inputs becoming unchecked during an animation.
This commit is contained in:
parent
14b09024cb
commit
ca91d78963
8
src/jquery/jquery.js
vendored
8
src/jquery/jquery.js
vendored
|
@ -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" )
|
||||||
|
|
Loading…
Reference in a new issue