Skip to content
Permalink
Browse files

Style formatting

  • Loading branch information
timmywil
timmywil committed Mar 26, 2011
1 parent 448111c commit 03da4c7ca719443d52104c7f47abffc2e312753d
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/attributes.js
@@ -290,7 +290,7 @@ jQuery.extend({
}

if ( pass && name in jQuery.attrFn ) {
return jQuery(elem)[name](value);
return jQuery( elem )[ name ]( value );
}

var ret, hooks,
@@ -299,7 +299,8 @@ jQuery.extend({
// Normalize the name if needed
name = notxml && jQuery.attrFix[ name ] || name;

// Get the appropriate hook, or the formHook if getSetAttribute is not supported and we have form objects in IE6/7
// Get the appropriate hook, or the formHook
// if getSetAttribute is not supported and we have form objects in IE6/7
hooks = formHook && ( name === "name" || elem.nodeName === "FORM" ) ?
formHook( name ) :
jQuery.attrHooks[ name ];

0 comments on commit 03da4c7

Please sign in to comment.
You can’t perform that action at this time.