Opened 12 years ago
Closed 12 years ago
#9617 closed bug (fixed)
addClass stops working when similar class exists
Reported by: | Motty | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.next |
Component: | attributes | Version: | git |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I was using the "edge" version on jsFiddle, which currently is jQuery v1.6.2pre (http://code.jquery.com/jquery-git.js)
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: http://jsfiddle.net/Mottie/9NXJM/
Change History (1)
comment:1 Changed 12 years ago by
Component: | unfiled → attributes |
---|---|
Priority: | undecided → high |
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed: https://github.com/jquery/jquery/commit/96501d38a935187461d45c40f17f8327b2e7cd91