Bug Tracker

Opened 7 years ago

Closed 7 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 7 years ago by dmethvin

Owner: set to MichaelM
Status: newpending

We'll need proof of that, please provide a test case on jsfiddle.net.

comment:2 Changed 7 years ago by MichaelM

Status: pendingnew

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/

Last edited 7 years ago by MichaelM (previous) (diff)

comment:3 Changed 7 years ago by dmethvin

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.