aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.tooltip.js
diff options
context:
space:
mode:
authorgnarf <gnarf@gnarf.net>2011-05-04 01:38:41 -0500
committergnarf <gnarf@gnarf.net>2011-05-04 01:38:41 -0500
commitd61e0656c59761cf9729d2aacbc16d74e576a440 (patch)
tree436fa7641aa06435fcbf49b3f3d88caf849a99f6 /ui/jquery.ui.tooltip.js
parentc5c65dbac60463d04a6c34a3c0e3e9ce5a846a43 (diff)
parentf5ee22c74a2e0e48b686a94838e12cbb9b45c99c (diff)
downloadjquery-ui-d61e0656c59761cf9729d2aacbc16d74e576a440.tar.gz
jquery-ui-d61e0656c59761cf9729d2aacbc16d74e576a440.zip
Merge branch 'master' into effects-unit
Diffstat (limited to 'ui/jquery.ui.tooltip.js')
-rw-r--r--ui/jquery.ui.tooltip.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js
index 534b3c947..20638cba5 100644
--- a/ui/jquery.ui.tooltip.js
+++ b/ui/jquery.ui.tooltip.js
@@ -24,9 +24,8 @@ $.widget("ui.tooltip", {
return $( this ).attr( "title" );
},
position: {
- my: "left center",
- at: "right center",
- offset: "15 0"
+ my: "left+15 center",
+ at: "right center"
}
},
_create: function() {
@@ -90,8 +89,8 @@ $.widget("ui.tooltip", {
of: target
}, this.options.position ) ).hide();
-
- tooltip.fadeIn();
+ tooltip.stop( true );
+ this._show( tooltip, this.options.show );
this._trigger( "open", event );
@@ -111,7 +110,8 @@ $.widget("ui.tooltip", {
var tooltip = this._find( target );
target.removeAttr( "aria-describedby" );
- tooltip.fadeOut( function() {
+ tooltip.stop( true );
+ this._hide( tooltip, this.options.hide, function() {
$( this ).remove();
});