Skip to content

Fix removeClass() with no arguments not removing all classes#3

Open
gmcnaughton wants to merge 1 commit intoNV:gh-pagesfrom
gmcnaughton:fix-empty-params
Open

Fix removeClass() with no arguments not removing all classes#3
gmcnaughton wants to merge 1 commit intoNV:gh-pagesfrom
gmcnaughton:fix-empty-params

Conversation

@gmcnaughton
Copy link

Fixes #2 (calling removeClass() with no arguments does not remove all classes).

jQuery's behavior changed somewhere between 1.4.4 and 1.11.3; the 'empty' test
case works against 1.4.4 but not 1.11.3 or 2.1.4. Changing the fallback case
to pass along the original arguments fixes the issue.

…ll classes).

jQuery's behavior changed somewhere between 1.4.4 and 1.11.3; the 'empty' test
case works against 1.4.4 but not 1.11.3 or 2.1.4.  Changing the fallback case
to pass along the original arguments verbatim fixes the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

removeClass() with empty arguments does not remove all classes

1 participant