diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-05-19 18:51:38 +0200 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-05-19 18:51:38 +0200 |
commit | 18a526ad78a0b154e6ce6dc430a025bec7fa2ee2 (patch) | |
tree | 47d5858cdb50f22174bcd7d1958bbf44c13582b7 /ui | |
parent | 9f56913dcc247b6aad4cea752d744ebf7775f794 (diff) | |
download | jquery-ui-18a526ad78a0b154e6ce6dc430a025bec7fa2ee2.tar.gz jquery-ui-18a526ad78a0b154e6ce6dc430a025bec7fa2ee2.zip |
Show tooltip before positioning it to fix scrolling issue, then hide again before animation
Diffstat (limited to 'ui')
-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 f64f40248..134e7546a 100644 --- a/ui/jquery.ui.tooltip.js +++ b/ui/jquery.ui.tooltip.js @@ -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")); |