Switch the form nodeName check in attr to use jQuery.nodeName for consistency
This commit is contained in:
parent
9b00827ac9
commit
15ccae91db
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ jQuery.extend({
|
|||
|
||||
// Get the appropriate hook, or the formHook
|
||||
// if getSetAttribute is not supported and we have form objects in IE6/7
|
||||
hooks = jQuery.attrHooks[ name ] || ( elem.nodeName === "FORM" && formHook );
|
||||
hooks = jQuery.attrHooks[ name ] || ( jQuery.nodeName( elem, "form" ) && formHook );
|
||||
|
||||
if ( value !== undefined ) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue