Skip to content

Commit

Permalink
Tooltip Y position is now dependent on its height. Fixes issue #207
Browse files Browse the repository at this point in the history
(cherry picked from commit 21dd694)
  • Loading branch information
Arjan Scherpenisse committed Sep 8, 2011
1 parent 3f4f6a8 commit d4bbc59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mod_base/lib/js/modules/z.tooltip.js
Expand Up @@ -50,7 +50,7 @@ $.widget("ui.tooltip",
var left = $(this).position().left;
var top = $(this).position().top;

tip.css({top: top - 30});
tip.css({top: top - tip.height()-10});

if(left + tip.width() > $(window).width())
{
Expand Down

0 comments on commit d4bbc59

Please sign in to comment.