From b61b16b5a89ee27b30efdf7635d897af810af130 Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Wed, 22 Jul 2020 16:04:47 +0200 Subject: All: Drop support for jQuery 1.7 Closes gh-1923 --- ui/widgets/tooltip.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ui/widgets') 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 $( "" ).text( title ).html(); -- cgit v1.2.3