Skip to main content

Bug Tracker

Side navigation

#9617 closed bug (fixed)

Opened June 19, 2011 08:08PM UTC

Closed June 20, 2011 01:49AM UTC

addClass stops working when similar class exists

Reported by: Motty Owned by:
Priority: high Milestone:
Component: attributes Version: git
Keywords: Cc:
Blocked by: Blocking:

I was using the "edge" version on jsFiddle, which currently is jQuery v1.6.2pre (

When I have a div with the two class names, e.g. "wrap wrap2". If I remove "wrap" and attempt to add it back, it fails.

This doesn't happen in v1.6.1.

Here is a demo:

Attachments (0)
Change History (1)

Changed June 20, 2011 01:49AM UTC by dmethvin comment:1

component: unfiledattributes
priority: undecidedhigh
resolution: → fixed
status: newclosed