Bug Tracker

Ticket #11370 (closed bug: fixed)

Opened 3 years ago

Last modified 2 years ago

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

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

Description

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

Change History

comment:1 Changed 3 years ago by dmethvin

  • Priority changed from undecided to low
  • Status changed from new to open
  • Component changed from unfiled to traversing

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

comment:3 Changed 3 years ago by Richard Gibson

  • Status changed from open to closed
  • Resolution set to fixed

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

Changeset: a619cb3063c104aa5ec808e13d2c84af565eacc6

comment:4 Changed 2 years ago by dmethvin

  • Milestone changed from None to 1.7.2
Note: See TracTickets for help on using tickets.