Fixed issue with getAttribute not existing in IE.
This commit is contained in:
parent
e8db15b70f
commit
698eafb58a
1 changed files with 1 additions and 1 deletions
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue