mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
commit
dd00f7f3b4
2
ui/jquery.ui.button.js
vendored
2
ui/jquery.ui.button.js
vendored
@ -185,6 +185,7 @@ $.widget( "ui.button", {
|
||||
// $.Widget.prototype._setOptionDisabled so it's easy to proxy and can
|
||||
// be overridden by individual plugins
|
||||
this._setOption( "disabled", options.disabled );
|
||||
this._resetButton();
|
||||
},
|
||||
|
||||
_determineButtonType: function() {
|
||||
@ -250,6 +251,7 @@ $.widget( "ui.button", {
|
||||
} else {
|
||||
this.element.removeAttr( "disabled" );
|
||||
}
|
||||
return;
|
||||
}
|
||||
this._resetButton();
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user