mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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;
|
||||
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" )
|
||||
|
Loading…
Reference in New Issue
Block a user