]> source.dussan.org Git - jquery-ui.git/commitdiff
Stop show animation on hide. Now that we don't reuse the tooltip
authorjzaefferer <joern.zaefferer@gmail.com>
Fri, 15 Apr 2011 14:53:05 +0000 (16:53 +0200)
committerjzaefferer <joern.zaefferer@gmail.com>
Fri, 15 Apr 2011 14:53:05 +0000 (16:53 +0200)
element, we can safely do that.

ui/jquery.ui.tooltip.js

index bff17d7b5e93d8f936a08de1261bf0744d125c5f..c481f62646f8084de055bcdba4c1ed0872662f73 100644 (file)
@@ -111,6 +111,7 @@ $.widget("ui.tooltip", {
                var tooltip = this._find( target );
                target.removeAttr( "aria-describedby" );
                
+               tooltip.stop();
                this._hide( tooltip, this.options.hide, function() {
                        $( this ).remove();
                });