Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#11370 closed bug (fixed)

$('<div>').siblings() throws exception

Reported by: pasky Owned by:
Priority: low Milestone: 1.7.2
Component: traversing Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description

$('<div>').siblings() throws exception instead of empty jQuery object

Change History (4)

comment:1 Changed 11 years ago by dmethvin

Component: unfiledtraversing
Priority: undecidedlow
Status: newopen

Well whatddya know... http://jsfiddle.net/pAsZ4/

comment:3 Changed 11 years ago by Richard Gibson

Resolution: fixed
Status: openclosed

Fix #11370: .siblings() shouldn't throw exception on a detached element

Changeset: a619cb3063c104aa5ec808e13d2c84af565eacc6

comment:4 Changed 11 years ago by dmethvin

Milestone: None1.7.2
Note: See TracTickets for help on using tickets.