Make .attr(name, null) equivalent to removeAttr(name). (Was roughly this before ...
authorJohn Resig <jeresig@gmail.com>
Tue, 28 Sep 2010 15:12:13 +0000 (11:12 -0400)
committerJohn Resig <jeresig@gmail.com>
Tue, 28 Sep 2010 15:12:13 +0000 (11:12 -0400)
commitc7c067723006b0dfbb123c1a36885580a587d091
tree28cf6c09f7f970792ffe7dfd2ca9257fc476f0e5
parentcf672a2e7a886cac5ae62f6772c6b4b43b19a2fc
Make .attr(name, null) equivalent to removeAttr(name). (Was roughly this before - but is now consistent across platforms). Fixes #6341.
src/attributes.js
test/unit/attributes.js