aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.tooltip.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-05-29 12:29:11 -0400
committerScott González <scott.gonzalez@gmail.com>2011-05-29 12:29:11 -0400
commit2a92b3ad8eeeb6e82f197fe599929ee334c76f02 (patch)
tree93ba9a3c8cb3e2f4cc66e191d4918e188c90cab5 /ui/jquery.ui.tooltip.js
parenta1f9ca724834c7d1e66401f8cea8063346392770 (diff)
downloadjquery-ui-2a92b3ad8eeeb6e82f197fe599929ee334c76f02.tar.gz
jquery-ui-2a92b3ad8eeeb6e82f197fe599929ee334c76f02.zip
Tooltip: Change default collision detection to 'flip fit' since the default vertical positioning is centered and can't flip
Diffstat (limited to 'ui/jquery.ui.tooltip.js')
-rw-r--r--ui/jquery.ui.tooltip.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js
index 279db69fa..c8d892d38 100644
--- a/ui/jquery.ui.tooltip.js
+++ b/ui/jquery.ui.tooltip.js
@@ -25,7 +25,8 @@ $.widget( "ui.tooltip", {
items: "[title]",
position: {
my: "left+15 center",
- at: "right center"
+ at: "right center",
+ collision: "flip fit"
},
tooltipClass: null
},