diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2015-03-16 11:52:05 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2015-03-16 11:54:43 -0400 |
commit | 17bd6e9cf94f435807eeb538a47b5e506a01f4cb (patch) | |
tree | 56e78e155c180fa1d14a4dde2240a71628b4bc48 /src/attributes/attr.js | |
parent | afca031826045e9d13454316ec3ec7388225e879 (diff) | |
download | jquery-17bd6e9cf94f435807eeb538a47b5e506a01f4cb.tar.gz jquery-17bd6e9cf94f435807eeb538a47b5e506a01f4cb.zip |
Attributes: fix failing test for new return value
Diffstat (limited to 'src/attributes/attr.js')
-rw-r--r-- | src/attributes/attr.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attributes/attr.js b/src/attributes/attr.js index f5c8dd598..716f4fe25 100644 --- a/src/attributes/attr.js +++ b/src/attributes/attr.js @@ -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 |