Skip to content
Browse files

modified _createWidget

  • Loading branch information...
1 parent a2df8e8 commit 40ae50b4b0a855efe9f18a213246b787137b7c19 @Y-Kamata committed Nov 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.widget.js
View
2 ui/jquery.ui.widget.js
@@ -194,8 +194,8 @@ $.Widget.prototype = {
if ( element !== this ) {
$.data( element, this.widgetName, this );
- this._bind({ remove: "destroy" });
// bugfix memory leak http://bugs.jqueryui.com/ticket/7808
+ //this._bind({ remove: "destroy" });
this.element.bind( "remove." + this.widgetName,
{widgetName: this.widgetName},
this.__destroy);

0 comments on commit 40ae50b

Please sign in to comment.
Something went wrong with that request. Please try again.