diff options
Diffstat (limited to 'resources/lib/jquery.ui/jquery.ui.tooltip.js')
-rw-r--r-- | resources/lib/jquery.ui/jquery.ui.tooltip.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/lib/jquery.ui/jquery.ui.tooltip.js b/resources/lib/jquery.ui/jquery.ui.tooltip.js index 782f8ff5a2f2..1549614f85ca 100644 --- a/resources/lib/jquery.ui/jquery.ui.tooltip.js +++ b/resources/lib/jquery.ui/jquery.ui.tooltip.js @@ -111,7 +111,7 @@ $.widget( "ui.tooltip", { }); // remove title attributes to prevent native tooltips - this.element.find( this.options.items ).andSelf().each(function() { + this.element.find( this.options.items ).addBack().each(function() { var element = $( this ); if ( element.is( "[title]" ) ) { element @@ -123,7 +123,7 @@ $.widget( "ui.tooltip", { _enable: function() { // restore title attributes - this.element.find( this.options.items ).andSelf().each(function() { + this.element.find( this.options.items ).addBack().each(function() { var element = $( this ); if ( element.data( "ui-tooltip-title" ) ) { element.attr( "title", element.data( "ui-tooltip-title" ) ); |