Update button.js

update also button title if label changes
This commit is contained in:
volkirik 2018-06-15 19:01:39 +03:00 committed by GitHub
parent 4f205e20b9
commit 7d0f6551a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -255,7 +255,7 @@ $.widget( "ui.button", {
this._attachIconSpace( this.options.iconPosition ); this._attachIconSpace( this.options.iconPosition );
} }
} }
this._updateTooltip(); this.element.attr( "title", value );
} }
this._super( key, value ); this._super( key, value );