diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-25 14:46:42 -0400 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-25 14:46:42 -0400 |
commit | e285e43d2bcd0c5744b0300b703641cb10b28137 (patch) | |
tree | 47a4afc0873fa2e752bdadc16a64cb8aba22b768 /ui/jquery.ui.tooltip.js | |
parent | 2766e1997a630ae9e54fdd13e5ca6941259a6242 (diff) | |
download | jquery-ui-e285e43d2bcd0c5744b0300b703641cb10b28137.tar.gz jquery-ui-e285e43d2bcd0c5744b0300b703641cb10b28137.zip |
Tooltip: Replacing mouseover/out with mouseenter/leave, dropping (for now) support for event delegation
Diffstat (limited to 'ui/jquery.ui.tooltip.js')
-rw-r--r-- | ui/jquery.ui.tooltip.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js index 374139264..4d0be6458 100644 --- a/ui/jquery.ui.tooltip.js +++ b/ui/jquery.ui.tooltip.js @@ -43,10 +43,10 @@ $.widget("ui.tooltip", { .appendTo(this.tooltip); this.opacity = this.tooltip.css("opacity"); this.element - .bind("focus.tooltip mouseover.tooltip", function(event) { + .bind("focus.tooltip mouseenter.tooltip", function(event) { self.show($(event.target)); }) - .bind("blur.tooltip mouseout.tooltip", function(event) { + .bind("blur.tooltip mouseleave.tooltip", function(event) { self.close(); }); }, |