aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/tooltip/video-player.html2
-rw-r--r--ui/jquery.ui.tooltip.js5
2 files changed, 3 insertions, 4 deletions
diff --git a/demos/tooltip/video-player.html b/demos/tooltip/video-player.html
index 73310e349..c890c76b4 100644
--- a/demos/tooltip/video-player.html
+++ b/demos/tooltip/video-player.html
@@ -32,7 +32,7 @@
$(".demo").tooltip({
position: {
my: "center top",
- at: "center bottom+5px"
+ at: "center bottom+5",
},
show: {
duration: "fast"
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() {