diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-05-04 08:21:57 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-05-04 08:21:57 +0200 |
commit | 66b96cbbe41ce873ad7bfcaf7394272eaf748672 (patch) | |
tree | 420a450fdfe7c9468e8699aec9085fdfc244af0e /ui/jquery.ui.tooltip.js | |
parent | 8201c1392863eb9e13204854ad393c023fdeba94 (diff) | |
download | jquery-ui-66b96cbbe41ce873ad7bfcaf7394272eaf748672.tar.gz jquery-ui-66b96cbbe41ce873ad7bfcaf7394272eaf748672.zip |
Tooltip: Also close on click. Essential for tooltips on menu buttons.
Diffstat (limited to 'ui/jquery.ui.tooltip.js')
-rw-r--r-- | ui/jquery.ui.tooltip.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js index 20638cba5..a8a44f1c0 100644 --- a/ui/jquery.ui.tooltip.js +++ b/ui/jquery.ui.tooltip.js @@ -96,7 +96,8 @@ $.widget("ui.tooltip", { this._bind( target, { mouseleave: "close", - blur: "close" + blur: "close", + click: "close" }); }, |