From 56c4c6aca992e1a441e6a2b498c911cf8d2221a4 Mon Sep 17 00:00:00 2001 From: Scott González Date: Fri, 14 Jan 2011 17:11:22 -0500 Subject: Change destroy to _destroy and remove calls to $.Widget.prototype.destroy in widgets with simple destroy methods. --- ui/jquery.ui.tooltip.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ui/jquery.ui.tooltip.js') 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() { -- cgit v1.2.3