mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tooltip: Removed click handler.
This commit is contained in:
parent
6bc220587e
commit
74df32f91e
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 );
|
||||
|
Loading…
Reference in New Issue
Block a user