// IDs of parent tooltips where we removed the title attribute
this.parents = {};
- if ( this.options.disabled ) {
- this._disable();
- }
-
// Append the aria-live region so tooltips announce correctly
this.liveRegion = $( "<div>" )
.attr( {
_setOption: function( key, value ) {
var that = this;
- if ( key === "disabled" ) {
- this[ value ? "_disable" : "_enable" ]();
- this.options[ key ] = value;
-
- // disable element style changes
- return;
- }
-
this._super( key, value );
if ( key === "content" ) {
}
},
+ _setOptionDisabled: function( value ) {
+ this[ value ? "_disable" : "_enable" ]();
+ },
+
_disable: function() {
var that = this;