Bug Tracker

Modify

Ticket #5203 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

.selector bug in 1.3.3 $('body')

Reported by: cowboy Owned by:
Priority: major Milestone: 1.4
Component: selector Version: 1.3.2
Keywords: Cc: cowboy
Blocking: Blocked by:

Description

I encountered this when working on #5202. $('body').selector isn't set, since internally, selector is set to document.body BUT this.selector is never set. So, that being said..

Diff:  http://benalman.com/code/jquery/src/jquery_body.diff

Change History

comment:1 Changed 4 years ago by flesler

  • Cc cowboy added
  • Resolution set to invalid
  • Status changed from new to closed
  • Component changed from unfilled to selector

I just removed the whole body check ([6546]) as it is then handled by $("TAG") pretty fast too.

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.