We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2155993 commit 6bc2205Copy full SHA for 6bc2205
ui/jquery.ui.tooltip.js
@@ -126,7 +126,7 @@ $.widget( "ui.tooltip", {
126
tooltip.stop( true );
127
this._hide( tooltip, this.options.hide, function() {
128
$( this ).remove();
129
- delete that[ this.id ];
+ delete that.tooltips[ this.id ];
130
});
131
132
// TODO: why isn't click unbound here?
@@ -157,11 +157,10 @@ $.widget( "ui.tooltip", {
157
return id ? $( "#" + id ) : $();
158
},
159
160
- destroy: function() {
+ _destroy: function() {
161
$.each( this.tooltips, function( id ) {
162
$( "#" + id ).remove();
163
164
- this._super( "destroy" );
165
}
166
167
0 commit comments