From 32e9d589639367098c942affa76aee9e5becdbc1 Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Thu, 25 Mar 2010 15:22:19 -0400 Subject: [PATCH] Tooltip: Fix positioning --- ui/jquery.ui.tooltip.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 })); -- 2.39.5