aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2015-03-16 11:52:05 -0400
committerTimmy Willison <timmywillisn@gmail.com>2015-03-16 11:52:05 -0400
commit5dc4616ca0fdbf2a80890bd9b236e796b84db8c1 (patch)
tree0f49e28bf583579b7368d8334b801eb8324b5e23 /src/attributes
parentaaeed53e9f1e299975cb6f697c8038ec3a83fa4d (diff)
downloadjquery-5dc4616ca0fdbf2a80890bd9b236e796b84db8c1.tar.gz
jquery-5dc4616ca0fdbf2a80890bd9b236e796b84db8c1.zip
Attributes: fix failing test for new return value
Diffstat (limited to 'src/attributes')
-rw-r--r--src/attributes/attr.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attributes/attr.js b/src/attributes/attr.js
index 3bb05a5a3..201a2d2a6 100644
--- a/src/attributes/attr.js
+++ b/src/attributes/attr.js
@@ -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