Side navigation
#3847 closed bug (fixed)
Opened January 14, 2009 04:29PM UTC
Closed January 20, 2009 05:33PM UTC
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 (3)
Changed January 15, 2009 02:12PM UTC by comment:1
| component: | unfilled → core |
|---|---|
| milestone: | 1.3 → 1.3.1 |
| need: | Review → Test Case |
| owner: | → john |
| version: | → 1.3 |
Changed January 16, 2009 12:06AM UTC by comment:2
There's a page demonstrating this at:
http://media.nodnod.net/jquery/3847.html
And I attached a diff of a possible fix
Changed January 20, 2009 05:33PM UTC by comment:3
| resolution: | → fixed |
|---|---|
| status: | new → closed |
Fixed in SVN rev [6142].