mirror of
https://github.com/jquery/jquery.git
synced 2026-02-02 17:44:56 -05:00
@@ -32,7 +32,7 @@ jQuery.extend({
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Fallback to prop when attributes are not supported
|
// Fallback to prop when attributes are not supported
|
||||||
if ( !elem.getAttribute ) {
|
if ( typeof elem.getAttribute === "undefined" ) {
|
||||||
return jQuery.prop( elem, name, value );
|
return jQuery.prop( elem, name, value );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user