#1309 closed bug (fixed)
className.has(undefined) and className.add(undefined) should fail gracefully
Reported by: | keithorama | Owned by: | brandon |
---|---|---|---|
Priority: | minor | Milestone: | 1.1.4 |
Component: | core | Version: | 1.1.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
it looks like className.remove() handles the case where the parameter is undefined. The has() and add() methods blow up. Would be nice if they didn't
Attachments (1)
Change History (4)
Changed 16 years ago by
Attachment: | jquery.diff added |
---|
comment:1 Changed 16 years ago by
Owner: | set to brandon |
---|
comment:3 Changed 16 years ago by
Milestone: | 1.1.3 → 1.1.4 |
---|---|
Version: | 1.1.2 → 1.1.3 |
Note: See
TracTickets for help on using
tickets.
patch to check for non-string input on className.*