Modify ↓
Ticket #3108 (closed enhancement: fixed)
Optimization for global unbinding on window unload
| Reported by: | mike.helgeson | Owned by: | flesler |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.3 |
| Component: | event | Version: | 1.2.6 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Can't we do this for the unload event?
jQuery(window).bind("unload",function(){
for ( var guid in jQuery.cache )
if ( guid>1 && jQuery.cache[ guid ].handle )
jQuery.event.remove( jQuery.cache[ guid ].handle.elem );
});
Attachments
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

