mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Button: spacing.
This commit is contained in:
parent
3c31d720ce
commit
e02b6a58d6
4
ui/jquery.ui.button.js
vendored
4
ui/jquery.ui.button.js
vendored
@ -69,7 +69,7 @@ $.widget( "ui.button", {
|
||||
options.label = this.buttonElement.html();
|
||||
}
|
||||
|
||||
if ( this.element.is(":disabled") ) {
|
||||
if ( this.element.is( ":disabled" ) ) {
|
||||
options.disabled = true;
|
||||
}
|
||||
|
||||
@ -240,7 +240,7 @@ $.widget( "ui.button", {
|
||||
},
|
||||
|
||||
refresh: function() {
|
||||
var isDisabled = this.element.is(":disabled");
|
||||
var isDisabled = this.element.is( ":disabled" );
|
||||
if ( isDisabled !== this.options.disabled ) {
|
||||
this._setOption( "disabled", isDisabled );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user