mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
parent
15a609f766
commit
075da3091c
@ -32,7 +32,7 @@ jQuery.extend({
|
||||
}
|
||||
|
||||
// Fallback to prop when attributes are not supported
|
||||
if ( !elem.getAttribute ) {
|
||||
if ( typeof elem.getAttribute === "undefined" ) {
|
||||
return jQuery.prop( elem, name, value );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user