aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets/tooltip.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/widgets/tooltip.js')
-rw-r--r--ui/widgets/tooltip.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/widgets/tooltip.js b/ui/widgets/tooltip.js
index 106485269..cd031ceb2 100644
--- a/ui/widgets/tooltip.js
+++ b/ui/widgets/tooltip.js
@@ -42,10 +42,7 @@ $.widget( "ui.tooltip", {
"ui-tooltip": "ui-corner-all ui-widget-shadow"
},
content: function() {
-
- // support: IE<9, Opera in jQuery <1.7
- // .text() can't accept undefined, so coerce to a string
- var title = $( this ).attr( "title" ) || "";
+ var title = $( this ).attr( "title" );
// Escape title, since we're going from an attribute to raw HTML
return $( "<a>" ).text( title ).html();