Skip to content
Permalink
Browse files

retrieving list with getAttribute is fine, no need to add list here a…

…nymore
  • Loading branch information...
timmywil
timmywil committed Apr 11, 2011
1 parent 2b70893 commit cb659c6054851dfcc52069885e7b7c0d17ee7097
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/attributes.js
@@ -479,7 +479,7 @@ jQuery.each([ "selected", "checked", "readOnly", "disabled" ], function( i, name

// Some attributes require a special call on IE
if ( !jQuery.support.hrefNormalized ) {
jQuery.each([ "href", "src", "width", "height", "list" ], function( i, name ) {

This comment has been minimized.

Copy link
@jdalton

jdalton Apr 16, 2011

Member

Which element has the list attribute?

This comment has been minimized.

Copy link
@timmywil

timmywil Apr 16, 2011

Member

An input attached to a datalist. The tests are still present in unit/attributes.js.

This comment has been minimized.

Copy link
@jdalton

jdalton Apr 16, 2011

Member

Thanks

jQuery.each([ "href", "src", "width", "height" ], function( i, name ) {
jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], {
get: function( elem ) {
var ret = elem.getAttribute( name, 2 );

0 comments on commit cb659c6

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