Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR jQuery UI tabs memory leak (see ##7258)

Events with closed in DOM elements get bound to window on tab initialisation,
and never unbound. Will be fixed with jQuery UI 1.9
  • Loading branch information...
commit fa900f70d5d42a0a2985edaf01620075b5ff2569 1 parent 980686a
Ingo Schommer chillu authored
Showing with 0 additions and 7 deletions.
  1. +0 −7 thirdparty/jquery-ui/jquery-ui.js
7 thirdparty/jquery-ui/jquery-ui.js
View
@@ -7753,13 +7753,6 @@ $.widget( "ui.tabs", {
this.load( o.selected );
}
-
- // clean up to avoid memory leaks in certain versions of IE 6
- // TODO: namespace this event
- $( window ).bind( "unload", function() {
- self.lis.add( self.anchors ).unbind( ".tabs" );
- self.lis = self.anchors = self.panels = null;
- });
// update selected after add/remove
} else {
o.selected = this.lis.index( this.lis.filter( ".ui-tabs-selected" ) );
Please sign in to comment.
Something went wrong with that request. Please try again.