Skip to content

Commit 74df32f

Browse files
committed
Tooltip: Removed click handler.
1 parent 6bc2205 commit 74df32f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ui/jquery.ui.tooltip.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ $.widget( "ui.tooltip", {
106106

107107
this._bind( target, {
108108
mouseleave: "close",
109-
blur: "close",
110-
click: "close"
109+
blur: "close"
111110
});
112111
},
113112

@@ -129,7 +128,6 @@ $.widget( "ui.tooltip", {
129128
delete that.tooltips[ this.id ];
130129
});
131130

132-
// TODO: why isn't click unbound here?
133131
target.unbind( "mouseleave.tooltip blur.tooltip" );
134132

135133
this._trigger( "close", event );

0 commit comments

Comments
 (0)