diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-25 15:22:19 -0400 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-25 15:22:19 -0400 |
commit | 32e9d589639367098c942affa76aee9e5becdbc1 (patch) | |
tree | 558f7171de4615a78802c3ba0bb0371696f12697 /ui/jquery.ui.tooltip.js | |
parent | e285e43d2bcd0c5744b0300b703641cb10b28137 (diff) | |
download | jquery-ui-32e9d589639367098c942affa76aee9e5becdbc1.tar.gz jquery-ui-32e9d589639367098c942affa76aee9e5becdbc1.zip |
Tooltip: Fix positioning
Diffstat (limited to 'ui/jquery.ui.tooltip.js')
-rw-r--r-- | ui/jquery.ui.tooltip.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js index 4d0be6458..cc8c559b0 100644 --- a/ui/jquery.ui.tooltip.js +++ b/ui/jquery.ui.tooltip.js @@ -94,7 +94,10 @@ $.widget("ui.tooltip", { return; this.tooltipContent.html(content); - this.tooltip.position($.extend(this.options.position, { + this.tooltip.css({ + top: 0, + left: 0 + }).position($.extend(this.options.position, { of: target })); |