aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.tooltip.js
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-07-20 14:00:43 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-07-20 14:00:43 +0200
commit52c31650b04056716f71b92b5d8f47ad11699932 (patch)
tree5e90baae3bcca099021df0cae0e2a2c6fd2f8b6f /ui/jquery.ui.tooltip.js
parent9b9b66d6adb6bf35c358f97605934a7bff8fc146 (diff)
downloadjquery-ui-52c31650b04056716f71b92b5d8f47ad11699932.tar.gz
jquery-ui-52c31650b04056716f71b92b5d8f47ad11699932.zip
Tooltip: Updated positioning - let user also customize of-property
Diffstat (limited to 'ui/jquery.ui.tooltip.js')
-rw-r--r--ui/jquery.ui.tooltip.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js
index 68d29f05f..caa36b205 100644
--- a/ui/jquery.ui.tooltip.js
+++ b/ui/jquery.ui.tooltip.js
@@ -104,9 +104,9 @@ $.widget("ui.tooltip", {
this.tooltip.css({
top: 0,
left: 0
- }).show().position($.extend(this.options.position, {
+ }).show().position( $.extend({
of: target
- })).hide();
+ }, this.options.position )).hide();
this.tooltip.attr("aria-hidden", "false");
target.attr("aria-describedby", this.tooltip.attr("id"));