]> source.dussan.org Git - jquery-ui.git/commitdiff
Tooltip: Removed click handler.
authorScott González <scott.gonzalez@gmail.com>
Sun, 29 May 2011 00:15:26 +0000 (20:15 -0400)
committerScott González <scott.gonzalez@gmail.com>
Sun, 29 May 2011 00:15:26 +0000 (20:15 -0400)
ui/jquery.ui.tooltip.js

index fe264ce0df95cac5c65842088d467a7e99dfb230..f2bae00bd8cd1846142b23492fd57dc7cf1f102e 100644 (file)
@@ -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 );