Show tooltip before positioning it to fix scrolling issue, then hide again before animation

This commit is contained in:
jzaefferer 2010-05-19 18:51:38 +02:00
parent 9f56913dcc
commit 18a526ad78

View File

@ -104,9 +104,9 @@ $.widget("ui.tooltip", {
this.tooltip.css({
top: 0,
left: 0
}).position($.extend(this.options.position, {
}).show().position($.extend(this.options.position, {
of: target
}));
})).hide();
this.tooltip.attr("aria-hidden", "false");
target.attr("aria-describedby", this.tooltip.attr("id"));