Commit 448111cb authored by timmywil's avatar timmywil

No longer need to check for objects or string of null with the special form...

No longer need to check for objects or string of null with the special form treatment and updates to removeAttr
parent 5caf7d83
...@@ -328,8 +328,7 @@ jQuery.extend({ ...@@ -328,8 +328,7 @@ jQuery.extend({
ret = elem.getAttribute( name ); ret = elem.getAttribute( name );
// Non-existent attributes return null, we normalize to undefined // Non-existent attributes return null, we normalize to undefined
// Instead of checking for null, we check for typeof object to catch inputs in IE6/7. Bug #7472 return ret === null ?
return typeof ret === "object" || ret === "null" ?
undefined : undefined :
ret; ret;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment