aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-03-25 15:22:19 -0400
committerjzaefferer <joern.zaefferer@gmail.com>2010-03-25 15:22:19 -0400
commit32e9d589639367098c942affa76aee9e5becdbc1 (patch)
tree558f7171de4615a78802c3ba0bb0371696f12697 /ui
parente285e43d2bcd0c5744b0300b703641cb10b28137 (diff)
downloadjquery-ui-32e9d589639367098c942affa76aee9e5becdbc1.tar.gz
jquery-ui-32e9d589639367098c942affa76aee9e5becdbc1.zip
Tooltip: Fix positioning
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.tooltip.js5
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
}));