]> source.dussan.org Git - jquery.git/commit
Fix #12411, .removeClass(undefined) is a chaining no-op. Close gh-913.
authorMatthias Jäggli <matthias.jaeggli@scout24.ch>
Tue, 28 Aug 2012 13:26:06 +0000 (16:26 +0300)
committerDave Methvin <dave.methvin@gmail.com>
Mon, 22 Oct 2012 01:06:41 +0000 (21:06 -0400)
commit227c49a4596423a125bdcb1d25a2263e526360db
tree769820170acef0b190b34e9e4979f9ae610d256c
parent23d125a51acc1cd2d127c9feb684aa96cea7d1fc
Fix #12411, .removeClass(undefined) is a chaining no-op. Close gh-913.

.removeClass() //removes all classes, as documented
.removeClass(window.nonExistentVariable) // removes nothing
src/attributes.js
test/unit/attributes.js