aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorMichael Wiencek <mwtuea@gmail.com>2013-12-23 20:40:30 -0600
committerJörn Zaefferer <joern.zaefferer@gmail.com>2014-01-09 20:38:08 +0100
commit0dc84db853751f5f0ccfd9f79cbf8355dcc4b09c (patch)
tree4825714222c3c030c43c2953208db5eb310ca351 /ui
parent9413043a9e6230bce9a0b439a6e78c86fa0d38af (diff)
downloadjquery-ui-0dc84db853751f5f0ccfd9f79cbf8355dcc4b09c.tar.gz
jquery-ui-0dc84db853751f5f0ccfd9f79cbf8355dcc4b09c.zip
Tooltip: Preserve the title after disabling twice
Fixes #9719 Closes gh-1154
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.tooltip.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js
index a8c3c14bd..274bcebdf 100644
--- a/ui/jquery.ui.tooltip.js
+++ b/ui/jquery.ui.tooltip.js
@@ -129,7 +129,7 @@ $.widget( "ui.tooltip", {
if ( element.is( "[title]" ) ) {
element
.data( "ui-tooltip-title", element.attr( "title" ) )
- .attr( "title", "" );
+ .removeAttr( "title" );
}
});
},