Bug Tracker

Modify

Ticket #11370 (closed bug: fixed)

Opened 2 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 2 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 2 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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.