git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
14b0902
)
Added fix for radio inputs becoming unchecked during an animation.
author
John Resig
<jeresig@gmail.com>
Wed, 18 Oct 2006 04:32:31 +0000
(
04:32
+0000)
committer
John Resig
<jeresig@gmail.com>
Wed, 18 Oct 2006 04:32:31 +0000
(
04:32
+0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
9768eee
..
35616de
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-1475,9
+1475,11
@@
jQuery.extend({
oHeight = e.offsetHeight;
oWidth = e.offsetWidth;
} else {
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" )
var parPos = jQuery.css(e.parentNode,"position");
if ( parPos == "" || parPos == "static" )