mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tooltip: Updated positioning - let user also customize of-property
This commit is contained in:
parent
9b9b66d6ad
commit
52c31650b0
4
ui/jquery.ui.tooltip.js
vendored
4
ui/jquery.ui.tooltip.js
vendored
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user