diff options
Diffstat (limited to 'src/support.js')
-rw-r--r-- | src/support.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/support.js b/src/support.js index e4a8b7c83..5bedb4dcb 100644 --- a/src/support.js +++ b/src/support.js @@ -15,7 +15,7 @@ jQuery.support = (function() { // Preliminary tests div.setAttribute( "className", "t" ); - div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"; + div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox' checked='checked'/>"; all = div.getElementsByTagName("*"); a = div.getElementsByTagName("a")[ 0 ]; @@ -96,8 +96,8 @@ jQuery.support = (function() { }; // Make sure checked status is properly cloned - input.checked = true; - support.noCloneChecked = input.cloneNode( true ).checked; + input.checked = false; + support.noCloneChecked = !input.cloneNode( true ).checked; // Make sure that the options inside disabled selects aren't marked as disabled // (WebKit marks them as disabled) |