mirror of
https://github.com/jquery/jquery.git
synced 2026-02-18 03:51:20 -05:00
Fixed #1095 bug where radio buttons became unchecked during show(). Also added unit test and had to fix a selector test that was broken by the new testing div in test/index.html. Last made some whitespace changes.
This commit is contained in:
@@ -765,7 +765,7 @@ jQuery.extend({
|
||||
// Otherwise, we need to flip out more values
|
||||
} else {
|
||||
elem = jQuery( elem.cloneNode(true) )
|
||||
.find(":radio").removeAttr("checked").end()
|
||||
.find(":radio").removeAttr("checked").removeAttr("defaultChecked").end()
|
||||
.css({
|
||||
visibility: "hidden",
|
||||
position: "absolute",
|
||||
|
||||
Reference in New Issue
Block a user