MCPcopy Create free account
hub / github.com/unconed/TermKit / fixDefaultChecked

Function fixDefaultChecked

HTML/jquery.js:5966–5970  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

5964
5965// Used in clean, fixes the defaultChecked property
5966function fixDefaultChecked( elem ) {
5967 if ( elem.type === "checkbox" || elem.type === "radio" ) {
5968 elem.defaultChecked = elem.checked;
5969 }
5970}
5971// Finds all inputs and passes them to fixDefaultChecked
5972function findInputs( elem ) {
5973 if ( jQuery.nodeName( elem, "input" ) ) {

Callers 1

findInputsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected