mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Tooltip: Removed click handler.
This commit is contained in:
4
ui/jquery.ui.tooltip.js
vendored
4
ui/jquery.ui.tooltip.js
vendored
@@ -106,8 +106,7 @@ $.widget( "ui.tooltip", {
|
||||
|
||||
this._bind( target, {
|
||||
mouseleave: "close",
|
||||
blur: "close",
|
||||
click: "close"
|
||||
blur: "close"
|
||||
});
|
||||
},
|
||||
|
||||
@@ -129,7 +128,6 @@ $.widget( "ui.tooltip", {
|
||||
delete that.tooltips[ this.id ];
|
||||
});
|
||||
|
||||
// TODO: why isn't click unbound here?
|
||||
target.unbind( "mouseleave.tooltip blur.tooltip" );
|
||||
|
||||
this._trigger( "close", event );
|
||||
|
||||
Reference in New Issue
Block a user