Skip to content
Permalink
Browse files

Backing out the change from 841f9ff, it was ineffectual in Internet E…

…xplorer. Keeping the broken test case, for now, so that we can check into the issue some more.
  • Loading branch information
jeresig committed Dec 18, 2009
1 parent f036630 commit 27d65b59f96460987abb84dadc3a75dde8826b3a
Showing with 1 addition and 8 deletions.
  1. +1 −8 src/attributes.js
@@ -268,14 +268,7 @@ jQuery.extend({
throw "type property can't be changed";
}

// browsers index elements by id/name on forms, give priority to attributes.
if( jQuery.nodeName( elem, "form" ) ) {
// convert the value to a string (all browsers do this but IE) see #1070
elem.setAttribute( name, "" + value );

} else {
elem[ name ] = value;
}
elem[ name ] = value;
}

// browsers index elements by id/name on forms, give priority to attributes.

0 comments on commit 27d65b5

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