Bug Tracker

Modify

Ticket #2487 (closed bug: duplicate)

Opened 5 years ago

Last modified 5 years ago

.is() fails on direct descendant selector

Reported by: julle Owned by:
Priority: major Milestone: 1.2.4
Component: core Version: 1.2.3
Keywords: Cc:
Blocking: Blocked by:

Description

$('li.menuheader>ul>li>a').eq(0).is('li.menuheader>a') returns true

Change History

comment:1 Changed 5 years ago by julle

btw: tested in FF 2.0.0.12 on kubuntu

comment:2 Changed 5 years ago by scott.gonzal

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #2266.

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.