aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r--ui/jquery.ui.dialog.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index e2b857723..50c2bb905 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -179,7 +179,7 @@ $.widget("ui.dialog", {
}
},
- destroy: function() {
+ _destroy: function() {
var self = this;
if ( self.overlay ) {
@@ -195,9 +195,6 @@ $.widget("ui.dialog", {
if ( self.originalTitle ) {
self.element.attr( "title", self.originalTitle );
}
-
- $.Widget.prototype.destroy.call( this );
- return self;
},
widget: function() {