Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#361 closed bug (fixed)

Calling end() where not suitable throws an error

Reported by: [email protected] Owned by:
Priority: minor Milestone:
Component: core Version:
Keywords: end stack Cc:
Blocked by: Blocking:


Consider this:

var jqDiv = $('div').find('a');
jqDiv.end().end(); // throws error

If end() is called to often, an error is thrown: "this.stack has no properties"

I think that should degrade gracefully.

Change History (2)

comment:1 Changed 16 years ago by anonymous

Cc: end stack removed
Keywords: end stack added

comment:2 Changed 16 years ago by joern

Resolution: fixed
Status: newclosed

Fixed in SVN :-)

Note: See TracTickets for help on using tickets.