diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-10-26 14:32:03 +0200 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-10-26 14:32:03 +0200 |
commit | 8b4245ac7e8c746af97059ed3ef1c886bccdb903 (patch) | |
tree | 126b5b154b70a3de4913b626dfb84ee290142843 /ui/jquery.ui.tooltip.js | |
parent | 61b4b3e445b0065774f22151d02aab2e8e4be245 (diff) | |
download | jquery-ui-8b4245ac7e8c746af97059ed3ef1c886bccdb903.tar.gz jquery-ui-8b4245ac7e8c746af97059ed3ef1c886bccdb903.zip |
Tooltip: Removing tooltipClass option; use .tooltip("widget").addClass("whatever") instead
Diffstat (limited to 'ui/jquery.ui.tooltip.js')
-rw-r--r-- | ui/jquery.ui.tooltip.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js index 8341131ca..08d2e616a 100644 --- a/ui/jquery.ui.tooltip.js +++ b/ui/jquery.ui.tooltip.js @@ -23,7 +23,6 @@ var increments = 0; $.widget("ui.tooltip", { options: { - tooltipClass: "ui-widget-content", content: function() { return $(this).attr("title"); }, @@ -39,8 +38,7 @@ $.widget("ui.tooltip", { .attr("id", "ui-tooltip-" + increments++) .attr("role", "tooltip") .attr("aria-hidden", "true") - .addClass("ui-tooltip ui-widget ui-corner-all") - .addClass(this.options.tooltipClass) + .addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content") .appendTo(document.body) .hide(); this.tooltipContent = $("<div></div>") |