#361 closed bug (fixed)
Calling end() where not suitable throws an error
Reported by: | 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 16 years ago by
Cc: | end stack removed |
---|---|
Keywords: | end stack added |
comment:2 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in SVN :-)