Skip to main content

Bug Tracker

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)
  • 3847.diff (0.4 KB) - added by dz January 16, 2009 12:06AM UTC.
Change History (3)

Changed January 15, 2009 02:12PM UTC by john comment:1

component: unfilledcore
milestone: 1.31.3.1
need: ReviewTest Case
owner: → john
version: → 1.3

Changed January 16, 2009 12:06AM UTC by dz 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 john comment:3

resolution: → fixed
status: newclosed

Fixed in SVN rev [6142].