Modify ↓
Ticket #12019 (closed bug: duplicate)
Calling next() on an element without any next sibling throws
| Reported by: | phistuck | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.8b1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Test case - $("body").next();
Throws (in Chrome 20) - TypeError: Cannot read property 'nodeType' of null
Works silently (returns an empty set) in 1.7.2.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

No test case provided, but seems like a dup.