Skip to content
Permalink
Browse files
Fixed issue with getAttribute not existing in IE.
  • Loading branch information
jeresig committed Sep 8, 2006
1 parent e8db15b commit 698eafb58a9b046446115be7d8a9d4a6db7ececb
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1746,7 +1746,7 @@ jQuery.extend({
if ( fix[name] ) {
if ( value != undefined ) elem[fix[name]] = value;
return elem[fix[name]];
} else if ( elem.getAttribute ) {
} else if ( elem.getAttribute != undefined ) {
if ( value != undefined ) elem.setAttribute( name, value );
return elem.getAttribute( name, 2 );
} else {

0 comments on commit 698eafb

Please sign in to comment.