Opened 10 years ago
Closed 10 years ago
#13258 closed bug (notabug)
.removeClass() doesn't work without parameters
Reported by: | MichaelM | Owned by: | MichaelM |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
removeClass without parameters still passes an argument length of 1, so
proceed = arguments.length === 0 || typeof value === "string" && value;
should be
proceed = arguments.length === 1 || typeof value === "string" && value;
Change History (3)
comment:1 Changed 10 years ago by
Owner: | set to MichaelM |
---|---|
Status: | new → pending |
comment:2 Changed 10 years ago by
Status: | pending → new |
---|
I realized this issue doesn't occur unless jQuery UI 1.9.2 is also being used, my apologies.
I'm going to go open a ticket on their site, but here's the jsFiddle for anyone interested: http://jsfiddle.net/nbyCC/3/
comment:3 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
We'll need proof of that, please provide a test case on jsfiddle.net.