From ff39bed57a05ca060033187b8aecebafab357f78 Mon Sep 17 00:00:00 2001 From: Scott González Date: Thu, 14 Jun 2012 12:33:16 -0400 Subject: Widget: Added _off() for removing event handlers. Fixes #7795 - Widget: _on and _off. --- ui/jquery.ui.tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/jquery.ui.tooltip.js') diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js index 6a7aab706..c4bdbb0d7 100644 --- a/ui/jquery.ui.tooltip.js +++ b/ui/jquery.ui.tooltip.js @@ -233,7 +233,7 @@ $.widget( "ui.tooltip", { }); target.removeData( "tooltip-open" ); - target.unbind( "mouseleave.tooltip focusout.tooltip keyup.tooltip" ); + this._off( target, "mouseleave focusout keyup" ); this.closing = true; this._trigger( "close", event, { tooltip: tooltip } ); -- cgit v1.2.3