Skip to content

Commit

Permalink
Show tooltip before positioning it to fix scrolling issue, then hide …
Browse files Browse the repository at this point in the history
…again before animation
  • Loading branch information
jzaefferer committed May 19, 2010
1 parent 9f56913 commit 18a526a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/jquery.ui.tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit 18a526a

Please sign in to comment.