diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2020-07-22 16:04:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 16:04:47 +0200 |
commit | b61b16b5a89ee27b30efdf7635d897af810af130 (patch) | |
tree | d2fc081ab5465ac1cd8e12072e92e9245dda8b08 /ui/widgets | |
parent | 086c304218b0f6e24e8f9ea7d76c75d192977abd (diff) | |
download | jquery-ui-b61b16b5a89ee27b30efdf7635d897af810af130.tar.gz jquery-ui-b61b16b5a89ee27b30efdf7635d897af810af130.zip |
All: Drop support for jQuery 1.7
Closes gh-1923
Diffstat (limited to 'ui/widgets')
-rw-r--r-- | ui/widgets/tooltip.js | 5 |
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(); |