diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-01-14 17:11:22 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-01-14 17:11:22 -0500 |
commit | 56c4c6aca992e1a441e6a2b498c911cf8d2221a4 (patch) | |
tree | b6fe701dc8156a70f5f8066a8e8b06e2d28132aa /ui/jquery.ui.tooltip.js | |
parent | ef1202dbe0af19b7929d6a31ef1ec66db7147889 (diff) | |
download | jquery-ui-56c4c6aca992e1a441e6a2b498c911cf8d2221a4.tar.gz jquery-ui-56c4c6aca992e1a441e6a2b498c911cf8d2221a4.zip |
Change destroy to _destroy and remove calls to $.Widget.prototype.destroy in widgets with simple destroy methods.
Diffstat (limited to 'ui/jquery.ui.tooltip.js')
-rw-r--r-- | ui/jquery.ui.tooltip.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js index ea3cde339..fd0faceae 100644 --- a/ui/jquery.ui.tooltip.js +++ b/ui/jquery.ui.tooltip.js @@ -58,9 +58,8 @@ $.widget("ui.tooltip", { this.options.disabled = true; }, - destroy: function() { + _destroy: function() { this.tooltip.remove(); - $.Widget.prototype.destroy.apply(this, arguments); }, widget: function() { |