aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes/attr.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/attributes/attr.js')
-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 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