aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.tooltip.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-11-05 15:03:15 -0500
committerScott González <scott.gonzalez@gmail.com>2012-11-05 15:03:15 -0500
commit02694a90f329e84ef7532d8b51e6c209207dc649 (patch)
tree49634076ef5addbf3587ed4a39d4ea51c3375da2 /ui/jquery.ui.tooltip.js
parent0bff32a2b1c2273e46dc0f70bc1058ad304ebcc5 (diff)
downloadjquery-ui-02694a90f329e84ef7532d8b51e6c209207dc649.tar.gz
jquery-ui-02694a90f329e84ef7532d8b51e6c209207dc649.zip
Tooltip: Use ui-tooltip-open instead of tooltip-open for data key.
Diffstat (limited to 'ui/jquery.ui.tooltip.js')
-rw-r--r--ui/jquery.ui.tooltip.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js
index e996d0d4e..5145884a3 100644
--- a/ui/jquery.ui.tooltip.js
+++ b/ui/jquery.ui.tooltip.js
@@ -159,14 +159,14 @@ $.widget( "ui.tooltip", {
target.data( "ui-tooltip-title", target.attr( "title" ) );
}
- target.data( "tooltip-open", true );
+ target.data( "ui-tooltip-open", true );
// kill parent tooltips, custom or native, for hover
if ( event && event.type === "mouseover" ) {
target.parents().each(function() {
var parent = $( this ),
blurEvent;
- if ( parent.data( "tooltip-open" ) ) {
+ if ( parent.data( "ui-tooltip-open" ) ) {
blurEvent = $.Event( "blur" );
blurEvent.target = blurEvent.currentTarget = this;
that.close( blurEvent, true );
@@ -196,7 +196,7 @@ $.widget( "ui.tooltip", {
content = contentOption.call( target[0], function( response ) {
// ignore async response if tooltip was closed already
- if ( !target.data( "tooltip-open" ) ) {
+ if ( !target.data( "ui-tooltip-open" ) ) {
return;
}
// IE may instantly serve a cached response for ajax requests
@@ -325,7 +325,7 @@ $.widget( "ui.tooltip", {
that._removeTooltip( $( this ) );
});
- target.removeData( "tooltip-open" );
+ target.removeData( "ui-tooltip-open" );
this._off( target, "mouseleave focusout keyup" );
// Remove 'remove' binding only on delegated targets
if ( target[0] !== this.element[0] ) {