diff options
author | Felix Nagel <info@felixnagel.com> | 2012-12-15 01:10:32 +0100 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2012-12-15 01:10:32 +0100 |
commit | 8aa24dd1d52fb1f2454905a2e3bb9b86c23cb4ad (patch) | |
tree | cf465822774b24aa3fbec3ff8eddb17d14f731ae /ui/jquery.ui.tooltip.js | |
parent | 25023c30407b92a5c44f117df560b9c87d6d94da (diff) | |
parent | 8ec7a1b69ffd86edbef06e30ca4368600531e649 (diff) | |
download | jquery-ui-8aa24dd1d52fb1f2454905a2e3bb9b86c23cb4ad.tar.gz jquery-ui-8aa24dd1d52fb1f2454905a2e3bb9b86c23cb4ad.zip |
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.tooltip.js')
-rw-r--r-- | ui/jquery.ui.tooltip.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js index ab8d5173c..3984826ce 100644 --- a/ui/jquery.ui.tooltip.js +++ b/ui/jquery.ui.tooltip.js @@ -113,7 +113,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 @@ -125,7 +125,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" ) ); |