Opened 14 years ago
Closed 14 years ago
#3847 closed bug (fixed)
RemoveClass with null parameter throws error
Reported by: | thomasvsundert | Owned by: | john |
---|---|---|---|
Priority: | major | Milestone: | 1.3.1 |
Component: | core | Version: | 1.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Calling removeClass(null) on an element throws an error. Instead it should just do nothing.
Attachments (1)
Change History (4)
comment:1 Changed 14 years ago by
Component: | unfilled → core |
---|---|
Milestone: | 1.3 → 1.3.1 |
need: | Review → Test Case |
Owner: | set to john |
Version: | → 1.3 |
Changed 14 years ago by
comment:2 Changed 14 years ago by
Note: See
TracTickets for help on using
tickets.
There's a page demonstrating this at:
http://media.nodnod.net/jquery/3847.html
And I attached a diff of a possible fix