Skip to content

Commit 66b96cb

Browse files
committed
Tooltip: Also close on click. Essential for tooltips on menu buttons.
1 parent 8201c13 commit 66b96cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/jquery.ui.tooltip.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ $.widget("ui.tooltip", {
9696

9797
this._bind( target, {
9898
mouseleave: "close",
99-
blur: "close"
99+
blur: "close",
100+
click: "close"
100101
});
101102
},
102103

0 commit comments

Comments
 (0)