]> source.dussan.org Git - jquery-ui.git/commitdiff
Tooltip: Fix positioning
authorjzaefferer <joern.zaefferer@gmail.com>
Thu, 25 Mar 2010 19:22:19 +0000 (15:22 -0400)
committerjzaefferer <joern.zaefferer@gmail.com>
Thu, 25 Mar 2010 19:22:19 +0000 (15:22 -0400)
ui/jquery.ui.tooltip.js

index 4d0be64589488c0e6743bf84fc2b1b8f57ea8122..cc8c559b0ead5630648766ff83d4ae85e076b36b 100644 (file)
@@ -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
                }));