Fix for #170
This commit is contained in:
parent
05164f34be
commit
8365b37c48
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue