diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-05-02 18:21:04 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-05-02 18:22:00 +0200 |
commit | 0496a50238a47463c171219b6370173874193130 (patch) | |
tree | f00acfa1e2be84537157f43a19f012adce094b86 /ui/jquery.ui.tooltip.js | |
parent | 74d195e39681791545b3026a66bfa3f319237e5a (diff) | |
download | jquery-ui-0496a50238a47463c171219b6370173874193130.tar.gz jquery-ui-0496a50238a47463c171219b6370173874193130.zip |
Tooltip: Replace offset property with inline my+offset to make it easier
to override the offset. Fixes the odd offset in the video player demo.
Also doesn't need units.
Diffstat (limited to 'ui/jquery.ui.tooltip.js')
-rw-r--r-- | ui/jquery.ui.tooltip.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js index bbf58c2a1..20638cba5 100644 --- a/ui/jquery.ui.tooltip.js +++ b/ui/jquery.ui.tooltip.js @@ -24,9 +24,8 @@ $.widget("ui.tooltip", { return $( this ).attr( "title" ); }, position: { - my: "left center", - at: "right center", - offset: "15 0" + my: "left+15 center", + at: "right center" } }, _create: function() { |