Side navigation
#3108 closed enhancement (fixed)
Opened July 01, 2008 02:58AM UTC
Closed July 01, 2008 03:02AM UTC
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: | ||
| Blocked by: | Blocking: |
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 );
});