Skip to content

Commit 52c3165

Browse files
committed
Tooltip: Updated positioning - let user also customize of-property
1 parent 9b9b66d commit 52c3165

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/jquery.ui.tooltip.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ $.widget("ui.tooltip", {
104104
this.tooltip.css({
105105
top: 0,
106106
left: 0
107-
}).show().position($.extend(this.options.position, {
107+
}).show().position( $.extend({
108108
of: target
109-
})).hide();
109+
}, this.options.position )).hide();
110110

111111
this.tooltip.attr("aria-hidden", "false");
112112
target.attr("aria-describedby", this.tooltip.attr("id"));

0 commit comments

Comments
 (0)