mirror of
https://github.com/jquery/jquery.git
synced 2026-02-02 01:25:10 -05:00
Attributes: fix failing test for new return value
This commit is contained in:
@@ -28,7 +28,7 @@ jQuery.extend({
|
||||
|
||||
// don't get/set attributes on text, comment and attribute nodes
|
||||
if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
|
||||
// Fallback to prop when attributes are not supported
|
||||
|
||||
Reference in New Issue
Block a user