aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.tooltip.js
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-10-26 14:32:03 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-10-26 14:32:03 +0200
commit8b4245ac7e8c746af97059ed3ef1c886bccdb903 (patch)
tree126b5b154b70a3de4913b626dfb84ee290142843 /ui/jquery.ui.tooltip.js
parent61b4b3e445b0065774f22151d02aab2e8e4be245 (diff)
downloadjquery-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.js4
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>")