diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-05-30 18:27:48 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-05-30 18:27:48 -0400 |
commit | 1b52cefc26da3a3c5bcb9116db79f68dbcc5de81 (patch) | |
tree | 4c8aca6129237205a45807e31a8eaf487df96141 /ui/jquery.ui.tooltip.js | |
parent | e5186dc9309cddf4a70bad37de4b4c71d2018f5c (diff) | |
download | jquery-ui-1b52cefc26da3a3c5bcb9116db79f68dbcc5de81.tar.gz jquery-ui-1b52cefc26da3a3c5bcb9116db79f68dbcc5de81.zip |
Widget: Fixed _show() and _hide() implementation and added tests.
Diffstat (limited to 'ui/jquery.ui.tooltip.js')
-rw-r--r-- | ui/jquery.ui.tooltip.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js index d30e49c66..a6ccc07bc 100644 --- a/ui/jquery.ui.tooltip.js +++ b/ui/jquery.ui.tooltip.js @@ -22,13 +22,19 @@ $.widget( "ui.tooltip", { content: function() { return $( this ).attr( "title" ); }, + hide: true, items: "[title]", position: { my: "left+15 center", at: "right center", collision: "flip fit" }, - tooltipClass: null + show: true, + tooltipClass: null, + + // callbacks + close: null, + open: null }, _create: function() { |