]> source.dussan.org Git - jquery.git/commit
Attributes: Drop the `toggleClass(boolean|undefined)` signature
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Tue, 1 Sep 2020 08:42:03 +0000 (10:42 +0200)
committerGitHub <noreply@github.com>
Tue, 1 Sep 2020 08:42:03 +0000 (10:42 +0200)
commita4421101fd6d9d7b0550210f8e8690641733dd9a
tree469cb196fb4952677d415118e77533dd72185dc6
parent68b4ec59c8f290d680e9db4bc980655660817dd1
Attributes: Drop the `toggleClass(boolean|undefined)` signature

The behavior of this signature is not intuitive, especially if classes are
manipulated via other ways between `toggleClass` calls.

Fixes gh-3388
Closes gh-4766
src/attributes/classes.js
test/unit/attributes.js