diff options
-rw-r--r-- | ui/jquery.ui.widget.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js index 976bd9afd..aaf070a9b 100644 --- a/ui/jquery.ui.widget.js +++ b/ui/jquery.ui.widget.js @@ -132,8 +132,7 @@ $.Widget.prototype = { options ); var self = this; - this.element.bind( "remove." + this.widgetName, function(event) { - console.log('remove', event); + this.element.bind( "remove." + this.widgetName, function() { self.destroy(); }); |