Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#361 closed bug (fixed)

Calling end() where not suitable throws an error

Reported by: klaus.hartl@… Owned by:
Priority: minor Milestone:
Component: core Version:
Keywords: end stack Cc:
Blocked by: Blocking:

Description

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 13 years ago by anonymous

Cc: end stack removed
Keywords: end stack added

comment:2 Changed 13 years ago by joern

Resolution: fixed
Status: newclosed

Fixed in SVN :-)

Note: See TracTickets for help on using tickets.