Attributes: fix failing test for new return value

This commit is contained in:
Timmy Willison
2015-03-16 11:52:05 -04:00
parent afca031826
commit 17bd6e9cf9
2 changed files with 12 additions and 3 deletions

View File

@@ -31,7 +31,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