Skip to content
Permalink
Browse files
Fix for #170
  • Loading branch information
brandonaaron committed Oct 11, 2006
1 parent 05164f3 commit 8365b37c483a597774d4d4617bd9d0d7cd87c926
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1853,7 +1853,7 @@ jQuery.extend({
return elem[fix[name]];
} else if( value == undefined && jQuery.browser.msie && elem.nodeName && elem.nodeName.toUpperCase() == 'FORM' && (name == 'action' || name == 'method') ) {
return elem.getAttributeNode(name).nodeValue;
} else if ( elem.getAttribute != undefined ) {
} else if ( elem.getAttribute != undefined && elem.tagName ) { // IE elem.getAttribute passes even for style
if ( value != undefined ) elem.setAttribute( name, value );
return elem.getAttribute( name, 2 );
} else {

0 comments on commit 8365b37

Please sign in to comment.