]> source.dussan.org Git - jquery-ui.git/commitdiff
Tooltip: Also close on click. Essential for tooltips on menu buttons.
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 4 May 2011 06:21:57 +0000 (08:21 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 4 May 2011 06:21:57 +0000 (08:21 +0200)
ui/jquery.ui.tooltip.js

index 20638cba542d790e0586a4e0b1e99c4c60963a32..a8a44f1c0e3100656331840a4858c488f323cba6 100644 (file)
@@ -96,7 +96,8 @@ $.widget("ui.tooltip", {
 
                this._bind( target, {
                        mouseleave: "close",
-                       blur: "close"
+                       blur: "close",
+                       click: "close"
                });
        },