aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-05-28 20:15:26 -0400
committerScott González <scott.gonzalez@gmail.com>2011-05-28 20:15:26 -0400
commit74df32f91e49f47136de99c6bc86de1b9d145c5c (patch)
treeaa47cd795aae009e7300d5040b3ba1dd0127b77a
parent6bc220587e6d13e34f653142ffe3dc694189a7f2 (diff)
downloadjquery-ui-74df32f91e49f47136de99c6bc86de1b9d145c5c.tar.gz
jquery-ui-74df32f91e49f47136de99c6bc86de1b9d145c5c.zip
Tooltip: Removed click handler.
-rw-r--r--ui/jquery.ui.tooltip.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js
index fe264ce0d..f2bae00bd 100644
--- a/ui/jquery.ui.tooltip.js
+++ b/ui/jquery.ui.tooltip.js
@@ -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 );